Commit Graph

969 Commits

Author SHA1 Message Date
Denys
37969bfce3 Refactor typo downGradeQuality 2025-05-11 12:13:29 +12:00
Denys
edb63434fd Refactor downGradeQuality 2025-05-11 12:12:05 +12:00
Denys
5bcf4e83f4 sellItem 2025-05-11 12:10:28 +12:00
Denys
5edd974d0f downGradeQuality func 2025-05-11 11:56:40 +12:00
Denys
e3cd8fe4d8 When instead of if 2025-05-11 11:47:37 +12:00
Denys
7fc2fe96eb Refactor 2025-05-11 11:12:21 +12:00
Denys
dcbb2aeb4a Refactor 2025-05-11 11:08:38 +12:00
Denys
8ad8a0696c Redundant if 2025-05-11 11:04:48 +12:00
Denys
e9beffa99c func upgradeQuality 2025-05-11 11:02:08 +12:00
Denys
fc6124b535 Delete redundant if 2025-05-11 10:40:36 +12:00
Denys
b5b7ffc870 Refactor: Separate packages\files 2025-05-11 10:40:06 +12:00
Denys
4f4d0243a0 ItemRepository
Separate Data from main func
2025-05-11 00:05:22 +12:00
Denys
071bd8fb99 Print for data class 2025-05-10 23:53:03 +12:00
Denys
85de84bb8b Data Class 2025-05-10 23:43:24 +12:00
Denys
d68930a624 New branch 2025-05-10 23:42:40 +12:00
Denys
ebfe053b4a Run Kotlin 2025-05-10 21:49:38 +12:00
Denys
af4b6f6ac2 Run 30 days 2025-05-10 21:36:35 +12:00
Denys
b8a3bef111 Setup JDK 2025-05-10 20:38:42 +12:00
Denys
2f14c63820 Check 2 2025-05-10 20:27:40 +12:00
Denys
4303004808 Check git works 2025-05-10 19:44:21 +12:00
Emily Bache
ab8c05935b
Merge pull request #620 from RorySan/fsharp-update
Fsharp updated to .NET 9
2025-05-09 12:28:36 +00:00
Rory
56bc90d53d Fsharp updated to .NET 9 2025-05-09 11:44:12 +02:00
Sasha Schwartz
d73f961089 separate files based on feedback 2025-05-04 13:29:08 +02:00
Sasha Schwartz
eb9b46e34d add Odin lang 2025-05-04 13:29:08 +02:00
Emily Bache
af3e2244b3
Merge pull request #616 from Younes-Charfaoui/arabic-translation
🐪 Adding Arabic translation for the requirements
2025-04-29 06:04:29 +00:00
Younes Charfaoui
97d98be1f4
Update GildedRoseRequirements_ar.md 2025-04-28 16:31:46 +01:00
Younes Charfaoui
b27409e72e Adding arabic translation for the requirments 2025-04-28 16:24:22 +01:00
Emily Bache
4b04f58363
Merge pull request #615 from dmcg/master
Upgrading versions for the Kotlin project
2025-04-15 06:12:34 +00:00
Duncan McGregor
1b01ed06cd Upgradle to 8.13 for Kotlin 2025-04-14 12:55:32 +01:00
Duncan McGregor
1dcc7ef316 Upgrade Kotlin 2025-04-14 12:53:23 +01:00
Duncan McGregor
8e26832f59 Upgrade JUnit for Kotlin, add kotlinx.test 2025-04-14 12:53:22 +01:00
Emily Bache
fcd540f80d
Merge pull request #613 from olliekennedy/fix-kotlin-texttest
Enable texttest to run in the Kotlin project
2025-04-04 11:48:22 +00:00
Ollie Kennedy
d87d813367
add kotlin gradle task to run texttest
`./gradlew -q text` now works

Co-authored-by: Marco Garofalo <marcogarofalo.personal@gmail.com>
2025-04-04 12:35:29 +01:00
Emily Bache
b3a0463bba
Merge pull request #601 from adampridmore/Adam2
Update scala project from scala 2 to scala 3
2025-03-17 09:59:21 +00:00
Emily Bache
fd1e798baf
Merge pull request #600 from Margarita23/improve-the-translation-ua
Improve the translation of the specification in Ukrainian
2025-03-17 09:53:27 +00:00
adampridmore
4af5375695
Updae to scala 3 2025-03-15 21:36:24 +00:00
Adam Pridmore
dd26a2d3b6
Merge pull request #1 from emilybache/main
Pull latest
2025-03-15 20:37:46 +00:00
Marharyta Andriukhina
4e77e34f22 Improve the translation of the specification in Ukrainian 2025-03-15 15:40:23 +02:00
Emily Bache
71261052fa
Merge pull request #596 from tbeu/update-cpp-cmake
Add test specific CMake options to C++ configuration
2025-02-16 05:57:30 +00:00
tbeu
85cc3d0171 Remove cpp-catch2 in favor of cpp. 2025-02-15 09:38:46 +01:00
tbeu
784920714a Introduce four CMake options to enable/disabled test variants or test frameworks
By default all four test variants (Catch2 vs. GTest and Approval vs. Unit) are enabled.
2025-02-15 09:38:07 +01:00
Emily Bache
afd4627ee1
Merge pull request #591 from tbeu/fix-cpp-code-smells
Fix C++ code smells
2025-02-13 05:42:25 +00:00
tbeu
73a51ef14f Fix C++ code smells
* Move "using namespace std;" from header to module file (to no longer pollute the global namespace).
* Fix inconsistency of having namespace prefix in test code.
* Add include guard to GildedRose.h.
* Avoid std::endl.
* Have consistent white-space.
2025-02-12 20:56:22 +01:00
Emily Bache
6c59257f27
Merge pull request #590 from tbeu/restructure-cpp-build-targets
Restructure C++ CMake build targets
2025-02-12 05:43:26 +00:00
tbeu
3bf108ef0e Restructure build targets of CMake configuration
* Rename the library under test from src to GildedRoseLib.
* Move the lib folder to test/third_party and handle ApprovalTests.hpp as header-only dependency.
* Remove the superfluous googletest_approval_main.cpp (in the same sense as there is only one GildedRoseCatch2ApprovalTests.cc)
* Set USE_FOLDERS property such that target ALL_BUILD, RUN_TESTS and ZERO_CHECK are grouped for Visual Studio.
* Set WORKING_DIRECTORY such that the RUN_TESTS target works successfully.
* Fix C++ language standard for Catch2 v3 to C++14.
* Bump third-party dependencies
  * Update ApprovalTests.hpp to v10.13.0
  * Update Catch2 to v3.8.0
  * Update GTest to v1.16.0
2025-02-11 23:04:23 +01:00
emily
a9fe49d2b6 fix layout 2025-02-03 11:52:22 +01:00
emily
b75802f675 newer version of junit and approvals 2025-02-03 11:51:43 +01:00
Birame Sene
4a7c2643c0 fix: typo 2025-01-22 18:36:51 +01:00
Birame Sene
288fa66728 chore: get rid of unneccessary configuration 2025-01-22 18:36:51 +01:00
Birame Sene
fcd7541c7e chore: renaming folder 2025-01-22 18:36:51 +01:00