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

Improvements to testing #74

Open
4 of 5 tasks
zivnevo opened this issue Aug 29, 2022 · 0 comments
Open
4 of 5 tasks

Improvements to testing #74

zivnevo opened this issue Aug 29, 2022 · 0 comments
Labels
enhancement New feature or request testing Anything related to testing
Milestone

Comments

@zivnevo
Copy link
Member

zivnevo commented Aug 29, 2022

Suggestions from @vikin91 :

  • use assertion package to reduce the amount of code and unify the failure messages (e.g., https://github.com/stretchr/testify)
  • convert the isolated test cases into table-driven tests, so that we can add new test cases with little effort
  • make sure output files do not collide with each other so that tests can run in parallel
  • Add tests to the analyzer package
  • precisely define the coverage of the tests, so that we cover the small slices of the system and we do not need to adapt all the test cases when we change only a part of the processing path. In particular, I am thinking about something like:
    • what do we test - file reading, yaml splitting, yaml parsing?
    • shall we have tests only for connection extraction?
    • shall we have tests only for netpol senthesizing?
@zivnevo zivnevo added enhancement New feature or request testing Anything related to testing labels Aug 29, 2022
@zivnevo zivnevo added this to the v1.4 milestone Sep 20, 2022
@zivnevo zivnevo modified the milestones: v1.4, v1.5 Nov 4, 2022
@zivnevo zivnevo modified the milestones: v1.5, v2.0 Jan 4, 2023
zivnevo added a commit that referenced this issue Feb 16, 2023
zivnevo added a commit that referenced this issue Feb 16, 2023
@zivnevo zivnevo modified the milestones: v1.6, v2.0 Feb 20, 2023
@zivnevo zivnevo modified the milestones: v1.7, v2.0 Apr 24, 2023
@zivnevo zivnevo modified the milestones: v1.8, v2.0 Jun 26, 2023
@zivnevo zivnevo modified the milestones: v2.0, v2.1 Jan 3, 2024
@zivnevo zivnevo modified the milestones: v2.1, v2.2 Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Anything related to testing
Projects
None yet
Development

No branches or pull requests

1 participant