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

Increasing test case value results in no tests at all #8

Open
kolmodin opened this issue Dec 31, 2014 · 2 comments
Open

Increasing test case value results in no tests at all #8

kolmodin opened this issue Dec 31, 2014 · 2 comments

Comments

@kolmodin
Copy link
Member

Using the flag -a you can change the number of test cases that should run for each test. The default is 100 tests.

$ dist/build/qc/qc 
Utils:
  refragment id: [OK, passed 100 tests]
...

Now with increased number of test cases;

 dist/build/qc/qc -a 1000
Utils:
  refragment id: [OK, passed 1000 tests]
...

However, if I use more than 1000 test cases, test-framework somehow decides to not run any tests at all.

$ dist/build/qc/qc -a 1001
Utils:
  refragment id: [Failed]
Arguments exhausted after 0 tests
...

As the comment notes, the arguments are exhausted so it's unable to execute any of the tests.

@Blaisorblade
Copy link

This is the same issue as batterseapower#34 — it seems to mention a different option, but --maximum-generated-tests is the long name of -a.

@Blaisorblade
Copy link

To sum up a few interesting things we figured there:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants