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

Some run modes are not supported when running using the Maven plugin #328

Open
itaiag opened this issue Jun 27, 2018 · 0 comments
Open

Some run modes are not supported when running using the Maven plugin #328

itaiag opened this issue Jun 27, 2018 · 0 comments
Labels

Comments

@itaiag
Copy link
Contributor

itaiag commented Jun 27, 2018

When using the JSystem Maven plugin for running scenarios, the run mode property is ignored and the scenarios are always executed using the default run mode (Drop on every run)

Steps to reproduce

  1. Create test (BB) that uses system object with init and close methods
  2. Create scenario s0 with few sub scenarios (s1, s1`, s1``). Each sub scenario should include the BB you have just created.
  3. Open for edit the jsystem.properties file located at the root of the tests project and set or add the property run.mode=DROP_EVERY_SCENARIO
  4. Use the Maven plugin to execute the s0 scenario

Expected
The system object init and close methods should be called at the beginning and end of each sub scenario (s1, s1`, s1``) respectively.

Actual
The init method is called only at the beginning of the first scenario

Thanks to Svyatoslav Pastukhov for discovering the bug

@itaiag itaiag added the bug label Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant