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

Test-case sampling #250

Open
3 tasks
enriozuni opened this issue May 20, 2020 · 2 comments
Open
3 tasks

Test-case sampling #250

enriozuni opened this issue May 20, 2020 · 2 comments
Assignees

Comments

@enriozuni
Copy link
Contributor

With the fix of issue #240, it was seen that there is a need for test-case sampling in CryptoAnalysis. Currently, there are around 280 JUnit test cases in the repository and the CI build of the repository requires a lot of memory. Moreover, it momentarily takes ~25 minutes for a successful build to complete. This means that a small commit would trigger the CI build which runs all different suites with test cases.

An alternative solution to this problem would be test-case sampling, where the following ideas could be implemented:

  • For each commit, run only the subset of test cases that correspond with the code changes of the commit.
  • Whenever master branch is built, run the whole test cases like in a normal build.
  • Setup a normal build on a fixed time period (e.g. two weeks) in the develop branch, so bugs are detected early.

Research on this topic is made in these papers:

@enriozuni
Copy link
Contributor Author

After a Skype discussion, the following proposals were drawn:

  1. Weekly / Bi weekly full testing
  2. Change based testing for every push
    2.1 Alternative: Run "important" tests for every push
  3. Ability to force a full build (on demand)

@enriozuni enriozuni self-assigned this Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants