software-challenge / backend

Server, Client und Spiel-Plugins der Software-Challenge Germany
https://www.software-challenge.de
11 stars 10 forks source link

docs(readme): add testing information & improve setup instructions #317

Closed xeruf closed 3 years ago

xeruf commented 3 years ago

@SKoschnicke @anarchuser were these the Specs we settled on? I know that this was only an intermediate draft.

anarchuser commented 3 years ago

I'm not sure, honestly. I had FreeSpec in mind since they can be swapped out with StringSpec without having to change the tests but still allowing nesting.

SKoschnicke commented 3 years ago

Last word about that was:

Xerus | Janek25.09.2020 @DarkUnicorn | Sven jetz wo ich sie mir genauer anschaue, FreeSpec hat den Vorteil dass wir die existieren tests ohne jegliche Änderungen migrieren können. Da aber WordSpec BDD sowie simplere tests sehr angenehm macht, würde ich tatsächlich die nehmen. https://discordapp.com/channels/233577109363097601/496605132750848004/758994836820459532

xeruf commented 3 years ago

Thanks for finding that, I hadn't found that while searching previously! We should do such discussions directly in Github in the future ;)

Yes, FreeSpec is nice for migration, but I don't think we're gonna migrate too much anyways. I really want a future-proof choice and WordSpec (https://kotest.io/styles/#word-spec) seems to hit the sweet spot between ease of use and explicitness. With FreeSpec I feel the nesting may become too garbled.