ProPra16 / programmierpraktikum-abschlussprojekt-xxxmathxxx

programmierpraktikum-abschlussprojekt-xxxmathxxx created by GitHub Classroom
Other
2 stars 0 forks source link

Various bugs in workflow // Editor #37

Closed phspo closed 8 years ago

phspo commented 8 years ago

1. If you create a test assertEquals(false,true) you have a serious issue. There is no way you could ever let that test be successful by writing code and as you are not allowed to go back you are done.

2. If you create a test and compiling fails because you test for a variable that is not yet there you should still be able to switch states. Say you write a test assertEquals(1,HackTime.aNumber) and aNumber doesnt exist yet because you plan on writing it you also have a problem.

So we(you lol) need to rethink the workflow and editor functionality

faweizz commented 8 years ago

Assigment: "Das Werkzeug erlaubt es dem Nutzer nur den Test zu editieren, bis es genau einen fehlschlagenden Test gibt oder der Code nicht compiliert" and "Das Programm erlaubt es dem Nutzer nun ausschlielich den Code zu modi zieren, bis alle Tests laufen. Alternativ kann der Benutzer zuruck zu RED wechseln. Beim Zuruckwechseln zu den Tests wird der neue Code geloscht"

This is finished