Skip to content
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

External DirSuite Mk3 #127

Merged
merged 1 commit into from
Jan 22, 2017
Merged

External DirSuite Mk3 #127

merged 1 commit into from
Jan 22, 2017

Commits on Jan 22, 2017

  1. External DirSuite Mk3

    This replace DirSuite Mk2 with external DirSuite Mk3.  See hrj#125
    for background information.
    
    Major changes between Mk2 and Mk3:
    
     - Test are discovered based on exec file, not by conf files.
     - Args-files are gone. If there are args for test case,
       then those are defined in exec-files.
     - Mk3 scanning is recursive by default.
     - Mk3 supports also Glob's. With glob `something/**.exec` includes
       all subdirectories under `something/`
     - Mk3 is more strict against human errors (e.g. Suite is aborted if
       pattern doesn't find anything, or if basedir is wrong, etc.).
     - It is possible to run tests without any agruments, even without
       conf-file
     - It is possible to run multiple steps per test
     - It is possible to run multistep dual assertions
       (success + failure assertion)
    
    Changes:
     - tests/**.exec: Added exec-file for every conf-file (previous "test case")
     - tests/**.args: removed args and content was moved to exec,
       if there was an args-file for test case
     - cli/src/test/../DirSuite.scala: removed Mk2 DirSuite
     - cli/src/tets/../TestComparator.scala: removed Mk2 DirSuite
     - cli/src/test/../DefaultArgsDirSuite.scala: Default Argument provider
       for Abandon test cases.
     - cli/src/test/../CliTest.scala: Use new Mk3 DirSuite,
       and change all old Regex to Glob
     - project/Dependencies.scala: Add library
       fi.sn127.utils.testing (rel:0.6.0 - DirSuite Mk3)
     - cli/build.sbt: Add test time dependency to DirSuite
    jaa127 committed Jan 22, 2017
    Configuration menu
    Copy the full SHA
    bd380c5 View commit details
    Browse the repository at this point in the history