Commit Graph

53 Commits

Author SHA1 Message Date
pierre
8a2e2e7876 test: adding some others units tests for object Item 2023-02-19 16:16:51 +01:00
pierre
ce18e35be7 chore: change in the argument name for setters 2023-02-19 16:16:26 +01:00
pierre
f0fe95be85 feat: making the Item class respecting the Encapsulation Principle 2023-02-19 16:04:40 +01:00
pierre
1f1275f4db refactor: improving the placement of the SellIn Counter to make the placement more intuitive 2023-02-19 15:45:20 +01:00
pierre
2935556281 test: adding some more test case to increase coverage 2023-02-19 15:44:18 +01:00
pierre
557ba0eb73 chore: cleaning the class GildedRose.java 2023-02-19 15:30:17 +01:00
pierre
f6f99c1cef test; adding a new test cases 2023-02-19 15:29:26 +01:00
pierre
c68e0b3dcd chore: improving comments for better clarity 2023-02-19 15:13:36 +01:00
pierre
e326caf567 refactor: adding a guard clause for Sulfuras item to avoid to check later on 2023-02-19 15:12:49 +01:00
pierre
6154339c39 refactor: simplifying the condition when the SellIn value is negative 2023-02-19 15:04:49 +01:00
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
emily
ed4c9f9d62 make the gradle task for texttest slightly easier to use 2022-12-02 08:10:07 +01:00
Nitsan Avni
bd93f794bf Java: run text fixture from cli 2022-11-27 16:14:50 +00:00
Peter Fichtner (pfichtner)
0eab1974d7 Migrated to apache maven wrapper 2022-01-03 22:18:08 +01:00
Horia Constantin
a4ac836a1d
updated junit.jupiter.version for java 2021-12-23 20:17:15 +01:00
Peter Fichtner (pfichtner)
78f0e354f6 maven wrapper added 2021-12-09 19:37:05 +01:00
emily
68211523d1 move approvals version of Java to own folder, provide alternative starting point and documentation 2021-11-30 08:52:19 +01:00
Peter Fichtner (pfichtner)
3f23301beb approval tests for java analog to csharp variant 2021-11-29 22:16:30 +01:00
Amedee Van Gasse 🦄🌈✨ (they/them)
f5f84fc776 Fix Maven warnings 2021-11-16 15:19:03 +01:00
Morgan Courbet
d4ccf958e2 Add editorconfig file for Java 2021-05-21 10:40:09 +02:00
Lars Eckart
0f729f3192 update gradle wrapper & junit5 dependency 2020-06-04 10:22:28 +03:00
Görge Albrecht
948852c2c4 add gradle build capabilities 2019-11-18 17:42:08 +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
260dc83099 use java.version property in pom.xml 2016-12-01 10:47:47 +01:00
Ton van Bart
40e7ea75c6 fixed directory structure 2016-12-01 09:45:34 +01:00
Ton van Bart
dae358a131 added Eclipse files to .gitignore 2016-12-01 09:37:05 +01:00
Ton van Bart
62b3b2fdb9 added IDEA project files to gitignore, set Maven java version to 8 2016-11-29 12:40:59 +01:00
Ton van Bart
3289182cef reorganized to Maven project structure 2016-11-29 12:36:54 +01:00
Peter Kofler
f492b562df update IDEA settings to IDEA 13 2014-11-28 20:40:52 +01:00
Peter Kofler
16b7b46653 add missing @Override annotation to item's toString 2014-04-13 13:40:22 +02:00
Peter Kofler
f284d7597a add IDEA setup for Java code 2014-01-25 23:01:40 +01:00