From 4d6a04543dfa5a392a1782c621ab5de0412d9104 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:23:15 -0500 Subject: [PATCH 01/11] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0922c437..1562f7e1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ -# Group 2 Gilded Rose Refactoring Kata - - +# Group 2 Gilded Rose Refactoring Kata +#### SWE6733 - Emerging Software Engineering Processes - Dr. Reza Parizi +
+#### **Group 2:** +Scrum Mast: Matt Decker +Product Owner: Devika Kandel Neupane +Developer: Ifeanyi Okoye +Developer: Cameron Mitchel Page This Kata was originally created by Terry Hughes (http://twitter.com/TerryHughes). It is already on GitHub [here](https://github.com/NotMyself/GildedRose). See also [Bobby Johnson's description of the kata](http://iamnotmyself.com/2011/02/13/refactor-this-the-gilded-rose-kata/). From 08c5b4d4b2f80c137027da43d309c100c00ae3d7 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:23:28 -0500 Subject: [PATCH 02/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1562f7e1..41befc4e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Group 2 Gilded Rose Refactoring Kata #### SWE6733 - Emerging Software Engineering Processes - Dr. Reza Parizi -
+ #### **Group 2:** Scrum Mast: Matt Decker Product Owner: Devika Kandel Neupane From d6eef0efb71eccc76209aabd1d58fd05a4fcd34f Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:23:55 -0500 Subject: [PATCH 03/11] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 41befc4e..7dcb7219 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ #### SWE6733 - Emerging Software Engineering Processes - Dr. Reza Parizi #### **Group 2:** -Scrum Mast: Matt Decker -Product Owner: Devika Kandel Neupane -Developer: Ifeanyi Okoye -Developer: Cameron Mitchel Page +Matt Decker +Devika Kandel Neupane +Ifeanyi Okoye +Cameron Mitchel Page This Kata was originally created by Terry Hughes (http://twitter.com/TerryHughes). It is already on GitHub [here](https://github.com/NotMyself/GildedRose). See also [Bobby Johnson's description of the kata](http://iamnotmyself.com/2011/02/13/refactor-this-the-gilded-rose-kata/). From 031e8184fb134672effcc3f0e0c50392140540ec Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:39:13 -0500 Subject: [PATCH 04/11] Create Dev-Env-Setup.md --- Dev-Env-Setup.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dev-Env-Setup.md diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md new file mode 100644 index 00000000..5ca11fa4 --- /dev/null +++ b/Dev-Env-Setup.md @@ -0,0 +1,12 @@ +# Development Environment Setup + +The following instructions will help you set up your development for our mob session. It is important that the dev environment is set up PRIOR to the mob session. +The mob session will likely take several hours and not having the dev environment set up prior will likely add a few more hours. + +1. Clone this repo to the place of your choice + - From the main repo screen, copy the https code for this repo. + - From command line: cd + - Once you verify you are in the file path that you want: git clone + - You will now recieve text from the command line letting you know the objects were recieved. + + From 7f3bfacd1825f6eba92ddb7c5b3931f1eef778cc Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:39:24 -0500 Subject: [PATCH 05/11] Delete GildedRoseRequirements_th.md --- GildedRoseRequirements_th.md | 37 ------------------------------------ 1 file changed, 37 deletions(-) delete mode 100644 GildedRoseRequirements_th.md diff --git a/GildedRoseRequirements_th.md b/GildedRoseRequirements_th.md deleted file mode 100644 index 267f4b67..00000000 --- a/GildedRoseRequirements_th.md +++ /dev/null @@ -1,37 +0,0 @@ -# ข้อกำหนดความต้องการของระบบ Gilded Rose - -ยินดีต้อนรับสู่ทีม Gilded Rose อย่างที่คุณทราบแล้วว่า เราคือโรงแรมขนาดเล็กที่ตั้งอยู่ทำเลทองของประเทศกรุงเทพ -นอกจากนี้เรายังซื้อและขายเฉพาะสินค้าที่ดีที่สุด แต่น่าเสียดายยิ่งใกล้ถึงวันกำหนดขายสินค้า คุณภาพของสินค้าก็จะลดลงอย่างต่อเนื่อง -ตอนนี้เรามีระบบที่ช่วยอัปเดตสินค้าคงคลังให้เรา มันถูกพัฒนาโดยโปรแกรมเมอร์ศิษย์เอกของพระอินทร์ ซึ่งโปรแกรมเมอร์คนนี้ได้ย้ายกลับไปอยู่กับพระอินทร์ -เป็นการถาวรแล้ว เราจึงอยากให้คุณช่วยเพิ่มฟีเจอร์ใหม่เพื่อให้เราสามารถขายสินค้าประเภทใหม่ได้ - -ก่อนอื่นเราขอแนะนำการทำงานของระบบปัจจุบัน: - -- สินค้าแต่ละชิ้นจะต้องขายภายในระยะเวลาที่กำหนดไว้ในค่า "SellIn" (มีหน่วยเป็น*วัน*) -- สินค้าแต่ละชิ้นจะระบุค่า "Quality" ที่สามารถบ่งชี้ถึงมูลค่าของสินค้า -- ระบบจะทำการคำนวนค่า "SellIn" และ "Quality" ของสินค้าทุกชิ้นในช่วงเวลาสุดท้ายของทุกวัน - -ง่ายอะดิ, ใช่ป่ะ? สิ่งที่น่าสนใจมันอยู่ตรงนี้: - -- เมื่อสินค้าเลยกำหนดขายไปแล้ว "Quality" ของสินค้าจะลดลงเป็นสองเท่าจากปกติ -- "Quality" ของสินค้าไม่มีทางติดลบได้ -- คุณภาพของสินค้าประเภท "Aged Brie" จะเพิ่มสูงขึ้นตามระยะเวลา -- "Quality" มีค่าสูงสุดคือ 50 -- สินค้าประเภท "Sulfuras" เป็นสินค้าในตำนานหายาก คุณภาพของสินค้าจะไม่ลดลงและไม่ได้มีไว้เพื่อขาย -- สินค้าประเภท "Backstage passes" คุณภาพของสินค้าเหมือนกันกับสินค้าประเภท aged brie -เพียงแต่หากใกล้ถึงวันแสดง 10 วันก่อนหน้าหรือน้อยกว่าคุณภาพของสินค้าประเภทนี้จะเพิ่มทีละ 2 และถ้าใกล้ถึงวันก่อนวันแสดง 5 วันหรือน้อยกว่าคุณภาพจะเพิ่มทีละ 3 -อย่างไรก็ตามคุณภาพของสินค้าจะกลายเป็น 0 ทันทีหลังการแสดงจบลง - -เมื่อเร็วๆ นี้เราพึ่งได้ลงนามกับผู้ผลิตสินค้าประเภทของขลังและของปลุกเสก -และเราต้องการที่จะเพิ่มความสามารถใหม่เข้าไปในระบบ: - -- คุณภาพสินค้าประเภท "Conjured" จะเสื่อมลงเร็วกว่าสินค้าปกติถึงสองเท่าจากปกติ - -คุณสามารถปรับปรุงแก้ไขได้ทุกอย่างภายในเมธอด UpdateQuality และสามารถเพิ่มโค้ดใหม่ได้เลย -ตราบใดที่ทุกอย่างยังคงทำงานได้ถูกต้อง อย่างไรก็ตามห้ามแก้ไขคลาส Item และคุณสมบัติของคลาส -เพราะมันถูกลงอาคมจากโปรแกรมเมอร์จอมขมังเวทย์ที่ไม่เชื่อในเรื่องการแบ่งปันความเป็นเจ้าของโค้ดร่วมกับผู้อื่น -(ถ้าคุณยังอยากจะแก้ไขทั้งเมธอด UpdateQuality และคุณสมบัติของคลาส Item เราก็จะ -นิมนต์หลวงปู่เค็มมาช่วยคุ้มกันคุณ) - -ย้ำอีกครั้งหนึ่ง, คุณภาพของสินค้ามีค่าสูงสุดคือ 50 -อย่างไรก็ตามสินค้าประเภท "Sulfuras" เป็นสินค้าหายากในตำนานมีค่า Quality เป็น 80 เสมอไม่เปลี่ยนแปลง. From 0334f1a6c61e71b422eefa1a032ea49672314429 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:40:52 -0500 Subject: [PATCH 06/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index 5ca11fa4..66e6a77a 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -8,5 +8,5 @@ The mob session will likely take several hours and not having the dev environmen - From command line: cd - Once you verify you are in the file path that you want: git clone - You will now recieve text from the command line letting you know the objects were recieved. - +2. Download Visual Studio Code (I chose to use Visual Studio Code for Junit integration but other IDEs will work as well). If you choose a different set up, please **verify** it works before the mob! From a0382915142da2ed9af05d51878d81b6b701a3ef Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:50:05 -0500 Subject: [PATCH 07/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index 66e6a77a..ba8a1cc4 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -9,4 +9,10 @@ The mob session will likely take several hours and not having the dev environmen - Once you verify you are in the file path that you want: git clone - You will now recieve text from the command line letting you know the objects were recieved. 2. Download Visual Studio Code (I chose to use Visual Studio Code for Junit integration but other IDEs will work as well). If you choose a different set up, please **verify** it works before the mob! - + - If you choose to download Visual Studio Code, please use the following link: https://code.visualstudio.com/download +3. Download Java SE and Verify it is Installed + - In the command line: java -version (this will let you know if java is installed and what version you have. + - To check if you need to update Java SE: type "Configure Java" in the search bar of Windows 10. + - Run the application + - Click the "Update Tab" + - Click "Update Now" at the bottom of the screen. From 3d45f5453c89e172039e673b9b3087a62be2e2f1 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:51:57 -0500 Subject: [PATCH 08/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index ba8a1cc4..326b377f 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -12,7 +12,10 @@ The mob session will likely take several hours and not having the dev environmen - If you choose to download Visual Studio Code, please use the following link: https://code.visualstudio.com/download 3. Download Java SE and Verify it is Installed - In the command line: java -version (this will let you know if java is installed and what version you have. + -If you do not have Java installed, go to: https://www.oracle.com/java/technologies/downloads/ and follow the download/setup instructions. - To check if you need to update Java SE: type "Configure Java" in the search bar of Windows 10. - Run the application - Click the "Update Tab" - Click "Update Now" at the bottom of the screen. + - Java SE should now be updated. +4. From 508cab3e1ecd37d9e1804082c040dac655b83ad1 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:52:20 -0500 Subject: [PATCH 09/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index 326b377f..49a4fb70 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -12,7 +12,7 @@ The mob session will likely take several hours and not having the dev environmen - If you choose to download Visual Studio Code, please use the following link: https://code.visualstudio.com/download 3. Download Java SE and Verify it is Installed - In the command line: java -version (this will let you know if java is installed and what version you have. - -If you do not have Java installed, go to: https://www.oracle.com/java/technologies/downloads/ and follow the download/setup instructions. + - If you do not have Java installed, go to: https://www.oracle.com/java/technologies/downloads/ and follow the download/setup instructions. - To check if you need to update Java SE: type "Configure Java" in the search bar of Windows 10. - Run the application - Click the "Update Tab" From 1107d4ce3772e8d78e6d112f0b32104b869111c0 Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 10:58:04 -0500 Subject: [PATCH 10/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index 49a4fb70..7481f844 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -10,6 +10,7 @@ The mob session will likely take several hours and not having the dev environmen - You will now recieve text from the command line letting you know the objects were recieved. 2. Download Visual Studio Code (I chose to use Visual Studio Code for Junit integration but other IDEs will work as well). If you choose a different set up, please **verify** it works before the mob! - If you choose to download Visual Studio Code, please use the following link: https://code.visualstudio.com/download + - If you already have VS Code installed, from command line: "code -v" will let you know what version you have. 3. Download Java SE and Verify it is Installed - In the command line: java -version (this will let you know if java is installed and what version you have. - If you do not have Java installed, go to: https://www.oracle.com/java/technologies/downloads/ and follow the download/setup instructions. From acbada550197d299d5083ef965b9951a11423e0a Mon Sep 17 00:00:00 2001 From: Matt Decker Date: Sun, 26 Jun 2022 11:40:56 -0500 Subject: [PATCH 11/11] Update Dev-Env-Setup.md --- Dev-Env-Setup.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dev-Env-Setup.md b/Dev-Env-Setup.md index 7481f844..2e01ba37 100644 --- a/Dev-Env-Setup.md +++ b/Dev-Env-Setup.md @@ -11,6 +11,9 @@ The mob session will likely take several hours and not having the dev environmen 2. Download Visual Studio Code (I chose to use Visual Studio Code for Junit integration but other IDEs will work as well). If you choose a different set up, please **verify** it works before the mob! - If you choose to download Visual Studio Code, please use the following link: https://code.visualstudio.com/download - If you already have VS Code installed, from command line: "code -v" will let you know what version you have. + - We must now download the appropriate Java Extensions for VS Code + - On the left hand task bar, click the extensions button (Looks like a square with for quadrants and one of the quadrants is being removed). + - Search "Extension Pack for Java" and you should see the Extension Pack for Java by Microsoft appear. Click the "Install" button. 3. Download Java SE and Verify it is Installed - In the command line: java -version (this will let you know if java is installed and what version you have. - If you do not have Java installed, go to: https://www.oracle.com/java/technologies/downloads/ and follow the download/setup instructions. @@ -19,4 +22,6 @@ The mob session will likely take several hours and not having the dev environmen - Click the "Update Tab" - Click "Update Now" at the bottom of the screen. - Java SE should now be updated. -4. +4. Download JUnit + - Click: https://github.com/junit-team/junit4/wiki/Download-and-Install + -This will download the .jar required. Click the download and follow set up instructions.