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

Introduce a test case schema #31

Open
kornicameister opened this issue Jul 14, 2020 · 2 comments
Open

Introduce a test case schema #31

kornicameister opened this issue Jul 14, 2020 · 2 comments

Comments

@kornicameister
Copy link
Contributor

Here's what I have in mind.
What about creating a @dataclass or NamedTuple or ish that will describe using a model what is a test case?
This should make it easier to maintain a code IMHO.

A suggestion, if you are interested :)

@sobolevn
Copy link
Member

Can you please share an example?

@kornicameister
Copy link
Contributor Author

An example could be something like:

class TestCase:
   name: str
   main: str
   out: Optional[str]
   ...

we could load into such a model and perhaps develop, using Github Actions, a solution to introspect members and generate such a table each time model changes :)

It is more or less really fancy idea :)

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

No branches or pull requests

2 participants