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

Convert Tests to Use Cases #313

Open
crisdut opened this issue Aug 2, 2023 · 0 comments
Open

Convert Tests to Use Cases #313

crisdut opened this issue Aug 2, 2023 · 0 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed priority-low
Milestone

Comments

@crisdut
Copy link
Member

crisdut commented Aug 2, 2023

Today, all tests written in BMC adopt "functional style"; that is, the focus is on testing functionality isolate. However, this approach needs to reflect the real-world usages.

So I suggest that the tests adopt use cases, such as "Alice needs to transfer one or more UDAs to Bob", and going through stressful scenarios too like "Bob tries to send a fraudulent consig to Alice".

We can start the test files with a brief description of the use case, and the tests in this file need reflect the description. We can even open issues with the "use case" tag describing a usage scenario so any contributor feels encouraged to contribute to the project.

@crisdut crisdut added good first issue Good for newcomers help wanted Extra attention is needed priority-low labels Aug 2, 2023
@crisdut crisdut added this to the 0.7.0 milestone Aug 2, 2023
@crisdut crisdut self-assigned this Aug 17, 2023
@cryptoquick cryptoquick modified the milestones: 0.7.0, 0.7.1 Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed priority-low
Projects
None yet
Development

No branches or pull requests

2 participants