Commit Graph

23 Commits

Author SHA1 Message Date
pierre
7473f39aec refactor: improving the if/else decision to avoid Logical NOT operator and ease the code comprehension 2023-02-19 14:46:19 +01:00
pierre
15f4d079a6 refactor: adding a guard clause in the updateItem method 2023-02-19 14:07:23 +01:00
pierre
0514a8ea67 test: changing the assert value 2023-02-19 13:53:35 +01:00
pierre
a6e85220e8 test: fine tunings the test cases to improve clarity 2023-02-19 13:48:51 +01:00
pierre
379648a572 feat: adding a updateItem method to keep the code dry 2023-02-19 13:29:50 +01:00
pierre
035e646326 refactor: moving up the gaurd clause for quality < 50 2023-02-19 13:16:32 +01:00
pierre
095d5edc82 refactor: change the test cases name to improve clarity 2023-02-19 12:57:57 +01:00
pierre
6c46c2d182 fix: updating a test case 2023-02-19 12:37:01 +01:00
pierre
a19592a19f feat: adding new products 2023-02-19 12:36:49 +01:00
pierre
85cafea70a feat: adding a test cases 2023-02-19 11:54:38 +01:00
pierre
33f38a7ec9 refactor: making the UpdateQuality method more readable by removing the tree of if/else statements while adding more specific tests cases to avoid regression 2023-02-19 10:33:27 +01:00
pierre
ef58e2bf7a fix: fixing the itemSulfurasNotChangeQuality test case 2023-02-18 18:38:02 +01:00
pierre
f691744b2b refactor: adding more test cases to increase testing coverage 2023-02-18 18:12:01 +01:00
pierre
a81faa5f29 refactor: moving up guard clause for TAFKAL80ETC Concert if quality is inferior to 50 2023-02-18 17:34:19 +01:00
pierre
34f7bb83b1 refactor: moving COnjured test cases into the UpdateQualityTest class 2023-02-18 17:11:42 +01:00
pierre
01718e904e feat: adding testing for incoming features 2023-02-18 17:00:51 +01:00
pierre
4bf6facef3 feat: adding basic unit tests for the GildedRose.java class 2023-02-18 16:35:16 +01:00
Görge Albrecht
eb271c686f migrate to JUnit 5 2019-11-18 17:05:22 +01:00
Ton van Bart
5605173439 reverted GildedRose to original code 2017-01-11 21:32:08 +01:00
Ton van Bart
b2422cf733 delete package with weird name 2017-01-09 22:38:54 +01:00
Ton van Bart
d4b3a30334 delete package with weird name 2017-01-09 22:31:26 +01:00
Ton van Bart
40e7ea75c6 fixed directory structure 2016-12-01 09:45:34 +01:00
Ton van Bart
3289182cef reorganized to Maven project structure 2016-11-29 12:36:54 +01:00