Commit Graph
55 Commits
Author SHA1 Message Date
Ian 7158270109 Re-introduce the com.gildedrose package for the Java example. Java isn't able to reference classes in the default packge, so if you're refactoring and putting your refactored code in packges, you can't refer back to the original code (i.e. Item) from them. Ensure the TextTest reference is also updated to the new location of the test. 2013-03-27 17:13:22 +00:00
Ian a2edc93325 Remove the dependency on the CppUTestExt library as this doesn't seem to be built by the current CppUTest distribution. 2013-03-27 14:01:42 +00:00
Ian a224162428 Update the tests to work with the code that was changed in rev 4dab932c94 to be more like the original c# 2013-03-27 10:30:17 +00:00
Ian f95ce38b81 Update the tests to work with the code that was changed in rev 4dab932c94 to be more like the original c# 2013-03-27 10:20:59 +00:00
emilybache 5b90bc7d6a Make instructions even clearer 2013-03-20 09:46:57 +01:00
emilybache 21cc3a3e85 Updated the read me with a justification of why I changed the starting position for this kata. 2013-03-20 09:43:14 +01:00
emilybache 0319c8a5f7 I changed the starting position for the C# version to match the other translations, especially the Java version. This means I've actually done a small amount of refactoring
already compared with the original form of the kata, and made it easier to get going with
writing tests. It also makes it easier to do text-based approval testing with this code.
2013-03-20 09:33:53 +01:00
Bjørn Arild Mæland 0d41aa77c9 Add a .rspec file for colours and nested output 2013-03-15 08:42:03 +01:00
Emily Bache f6a5c4fe40 improved the description of text-based approval testing 2013-03-13 18:25:25 +01:00
Emily Bache e583b8461f added normal unittest version of ruby test 2013-03-13 18:21:40 +01:00
Emily Bache e103796367 ignore .pyc files 2013-03-13 18:21:27 +01:00
Emily Bache 4dab932c94 updated these versions to more closely match the original C# 2013-03-13 18:20:38 +01:00
Emily Bache 2e3386ab13 added links to cyberdojos for more languages 2013-03-13 18:18:50 +01:00
emilybache 78f90ea9cf C# version of Gilded Rose in cyber-dojo 2013-02-08 15:31:37 +01:00
emilybache 6654875bc0 Added information about GildedRose on cyber-dojo 2013-01-24 10:59:56 +01:00
emilybache 6b269aab48 Merge branch 'master' of github.com:emilybache/Refactoring-Katas 2013-01-23 15:28:35 +01:00
emilybache 1fcd221677 In Java it's best practice to use .equals for strings. Even though this is supposed to be legacy code, the use of == led to some hard to understand errors that distract from the exercise. 2013-01-23 15:28:15 +01:00
Marco Emrich 4bb9659190 added js version of Gilded Rose from git@github.com:guyroyse/gilded-rose-javascript.git 2013-01-07 02:53:21 +01:00
David Vrensk 7541689452 Style fix: ruby always uses 2-space indentation 2012-12-06 15:54:52 +01:00
David Vrensk 9042bba0a2 Bug fix: the sample spec did not run 2012-12-06 15:53:43 +01:00
emilybache 5fb9f52b48 added encoding, fixed som PEP-8 issues. Thanks to apieum for these changes. 2012-11-21 10:21:22 +01:00
emilybache ca6f1a5b55 change to using unittest instead of py.test since it comes with the standard library 2012-11-05 20:58:35 +01:00
emilybache 041c04db18 updated README file to markdown syntax, added link to texttest mailing list 2012-10-14 11:01:20 +02:00
emilybache f416ee371a Updated the README files to markdown, improved the instructions. 2012-10-12 16:17:59 +02:00
emilybache b6cd227450 separate file with Gilded Rose requirements 2012-10-12 15:58:16 +02:00
Frederic Lepied e48300e32e ported the C++ version in C 2012-08-17 11:31:01 +02:00
Emily Bache 32ce66e211 Renamed main functions to TexttestFixture to make it clear they're not part of the actual refactoring kata 2012-05-24 14:25:44 +02:00
Emily Bache 80bd31bea4 changing names to Fixture so that it's obvious this code is not part of the refactoring kata itself 2012-05-24 14:21:21 +02:00
leider e7b2e2a3ad added Transcript output 2012-04-21 20:31:21 +02:00
leider 2eb0418b03 Smalltalk version created 2012-04-21 17:09:11 +02:00
Emily Bache 14303cc7e0 Small tweak to text 2012-04-04 14:30:27 +02:00
Emily Bache 4d87cac40d removing unwanted files that got here by accident 2012-04-04 13:45:58 +02:00
Emily Bache bf68436e11 Improving the documentation, especially around text-based testing 2012-04-04 13:42:26 +02:00
Emily Bache 2e5a38d000 make c sharp version work together with texttests 2012-03-28 20:59:53 +02:00
Emily Bache df0d688718 config settings to run the ruby version with the texttests 2012-03-28 19:53:44 +02:00
Emily Bache 1c2ef84b66 Adding Ruby version of the exercise 2012-03-28 19:41:41 +02:00
Emily c73ac70498 updating python, Java and cpp versions to all work with the same texttests 2012-03-28 15:02:21 +02:00
Emily Bache 88ef5a059e adding original csharp code to repo 2012-03-28 12:59:42 +02:00
Andreas Ekeroot bf68d49d55 Made print a function from the future. Added more items to cover all the branches of the code. 2012-03-08 11:53:56 +01:00
Jonas Granquist 5e873aeefd Changed back to original googletest path 2012-02-25 10:18:01 +01:00
Jonas Granquist 072c37dd89 GildedRose class takes reference to items vector 2012-02-25 09:24:52 +01:00
Jonas Granquist 975c5edd7f Added texttest 2012-02-25 09:21:31 +01:00
Jonas Granquist c56f013f1d Moved GildedRose implementation to new file GildedRose.cc 2012-02-25 09:14:10 +01:00
Jonas Granquist b6553ce2f1 Moved gtest to a new file 2012-02-25 08:59:26 +01:00
Jonas Granquist e8cfd96ccf Move the code into a header file 2012-02-25 08:52:41 +01:00
Emily 7832dd745c Adjusted the config file to work with the standard filename configuration, and a checkout location to reduce duplication. 2012-02-20 14:39:51 +01:00
Emily 6f7efa40eb added code needed for test fixture - ie toString methods and main method 2012-02-20 14:22:55 +01:00
Emily 8da58f6dd1 added a text based test for the java and python versions 2012-02-20 14:17:47 +01:00
Anders Arnholm 838f61dd97 CHanges -lphread into -pthread, removed compile error 2012-01-20 08:05:45 +01:00
Emily Bache 8c534ac0d9 added supporting files for c++ 2012-01-15 20:40:56 +01:00