Skip to content

RSAComb testing suite #9

@dyamon

Description

@dyamon

We clearly need to automate testing better that how it is atm.

Unit testing

Unit testing is almost useless when it comes to modules that depend on generating "fresh names" since we can't predict the names of the generated names.

The simple solution is to put the code that generates fresh names into its own class and keep track of the seed as an implicit parameter to the generation function. This won't break the existing code, will keep the seed "out of the way" when we don't need it, but will give us the ability to run unit tests on the same seed.

Note: unit testing is also incomplete on most modules so it might be worth spending some time on that.

Test cases

Along the way we collected a fair amount of interesting (and correct) test cases. We should integrate them with some GitHub Action so that we don't break the existing code while introducing new features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions