-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to a module based configuration #214
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
3fa49a1
Add fold_left to Reserr
n-osborne 00119f5
Reorder warnings in reserr
n-osborne e627e3b
Add new reserr errors
n-osborne 79a1bb9
Change command-line interface for a module-base config
n-osborne 48d160c
Setup parsing parsing of the configuration module
n-osborne 719995a
Remove unused errors from reserr
n-osborne f0c3e15
Add the logic of scanning the configuration module
n-osborne 0a4293c
Process values to look for `init_sut`
n-osborne 5527178
Use init_sut_txt and location from config file
n-osborne 3e0d6b0
Process type declarations to find the type `sut`
n-osborne f8bad7f
Update tests to use the new interface
n-osborne 9382c7f
Collect optional content for the `Gen` module
n-osborne 8804965
Integrate generators into the generated code
n-osborne 802cba5
Add tests for inclusion of the custom generators
n-osborne 165501f
Collect optional content for `Pp` module
n-osborne 48924d6
Integrate pretty printers into generated code
n-osborne 3a1a17e
Add tests for inclusion of custom pretty printers
n-osborne c5e9c48
Collect optional ty extensions and functional constructors
n-osborne 30afd25
Add tests for inclusion of `ty` extensions
n-osborne 6ac533a
Reorder `pp_kind` cases in reserr
n-osborne 6537f47
Update Ortac/QCheck-STM README
n-osborne 4e0cdbf
Update Ortac/Dune plugin to new qcheck-stm interface
n-osborne c73610e
Update Ortac/Dune cram tests
n-osborne bf58af8
Update Ortac/Dune README
n-osborne 92b70d7
Update examples to new interface
n-osborne 2dcee7a
Update Ortac/QCheck-STM documentation
n-osborne e190f82
Update Changelog
n-osborne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
open Lwt_dllist_spec | ||
|
||
type sut = int t | ||
|
||
let init_sut = create () | ||
|
||
module Ty = struct | ||
type _ ty += Node : 'a ty -> 'a node ty | ||
|
||
let node spec = | ||
let ty, show = spec in | ||
(Node ty, fun n -> Printf.sprintf "Node %s" (show (get n))) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
open Varray | ||
|
||
type sut = char t | ||
|
||
let init_sut = make 42 'a' | ||
|
||
module Pp = struct | ||
include Util.Pp | ||
|
||
let pp_elt pp = pp | ||
end | ||
|
||
module Gen = struct | ||
include QCheck.Gen | ||
|
||
let int = small_signed_int | ||
let elt gen = gen | ||
end | ||
|
||
module Ty = struct | ||
type _ ty += Elt : 'a ty -> 'a elt ty | ||
|
||
let elt spec = | ||
let ty, show = spec in | ||
(Elt ty, fun x -> Printf.sprintf "Elt %s" (show x)) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
open Varray | ||
|
||
type sut = char t | ||
|
||
let init_sut = make 42 'a' | ||
|
||
module Pp = struct | ||
include Util.Pp | ||
|
||
let pp_elt pp = pp | ||
end | ||
|
||
module Gen = struct | ||
include QCheck.Gen | ||
|
||
let int = small_signed_int | ||
let elt gen = gen | ||
end | ||
|
||
module Ty = struct | ||
type _ ty += Elt : 'a ty -> 'a elt ty | ||
|
||
let elt spec = | ||
let ty, show = spec in | ||
(Elt ty, fun x -> Printf.sprintf "Elt %s" (show x)) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: missing
-