-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Daniel/integration tests improvements (#111)
* Use java 16 zulu in Apalache cmd * Adds a TLDR comment explaining integration test practice * renames tests/integration/tla to tests/integration/resource * Deletes body of tests/integration/main.rs * Impl basics of framework json file config * Adds integration test (parse) * Fixes docstr comment for TestListCli struct * Improves 2 comments in tla::mod.rs * Adds numbers step runner test file * Adds Numbers test config * Partially impl integration test main.rs * Removes test_batch_list.json * Impl integration test framework MVP * Adds self.recalculate to init of NumberSystem::init * Refactor the integration tests * Adds 2 small comments to integration/main.rs * Changes the CLI to require a --write arg to write to disk * Fixes a typo in tla_file_suite.rs * Adds IBC_ics02 parse test * Adds expect_status field to CLI test * Fixes file format for written parse * Adds shlex crate dev dependency (shell parsing) * Adds CliParseError to error.rs * Adds deserialize trait to CliStatus * Adds cli integration test support (status only) * Adds name, description fields to integration tests * Implements basic integration testing * Adds model checker runtime configuration to integration tests * Give error in case test not found (with integration test) Fixes #108 * Adds test for test name matching correctness * Adds TrafficCrossing parse tests * Defines an IntegrationTestError * Uses IntegrationTestError * Adds multi trace integration tests for Indices * Removes cli parse error from modelator/Error * Impl automatic conversions for IntegrationTestError * Ammend naming of next, init in Indices test * Adds 2PossibleTrace integration test * Ignore deadlock message in Apalache log * Integration tests pass * Adds 2 extra tests for Numbers test * Adds additional TrafficCrossing cli test * Removes Apalache 16zulu java cmd * Adds Apalache M1 mac java usage * Impl parallel testing Note: does not yet lock .modelator directory * Better doc parallel integration tests * Reorganize code in tests/integration/common * Removes commented out cache code * Protect jar download in setup with mutex * Delete apalache m1 mac cmd * use thiserror attributes * removed some boxes * make clippy happy * sort dep list * bump clap-beta version for successful compilation * fix cargo doc warning * Fix array len clamp in cmd_output * use start_with instead of taking a slice and checking equiality * maintain checker exit code * less multi-threading to fix integration tests * remove multithreading from integration tests Co-authored-by: Daniel Tisdall <[email protected]> Co-authored-by: Ranadeep Biswas <[email protected]>
- Loading branch information
1 parent
ef51d67
commit 46fb36c
Showing
50 changed files
with
799 additions
and
457 deletions.
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
Oops, something went wrong.