ivanpaulovich / clean-architecture-manga

:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
http://paulovich.net/
Apache License 2.0
4.03k stars 693 forks source link

Executable specifications with Specflow #226

Open tawfiknouri opened 4 years ago

tawfiknouri commented 4 years ago

Hi folks !

@ivanpaulovich This project sounds very interesting, DDD, TDD, clean code ... What about using gherkin and specflow / executable specification ? It's important to remember that not all stakeholders will be familiar with Xunit ou Xunit like ...

Thanks!

ferrydeboer commented 4 years ago

I might be able to contribute to this. As far as I have seen there are no actual Use Case descriptions where this could be based upon right?

ivanpaulovich commented 4 years ago

Hey @tawfiknouri @ferrydeboer,

It would be nice to implement it. I don't have the skills to implement it using specflow, I guess it needs a usable user interface right?

Right now we have the following flow in the UI:

  1. User opens Home page.
  2. User clicks on Login button
  3. User is redirected to Identity Server.
  4. User submits valid credentials.
  5. User is redirected back to Home page.
  6. List of accounts is displayed.

Other use cases could be executed by using the Swagger UI.

Before running the test is needs docker-compose up to spin up the whole solution. Let me know how we could start this epic.

Thank you!