mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-14 22:21:20 +00:00
Separate tests sellIn and quality
This commit is contained in:
parent
930bc1d32f
commit
75cf07cf6d
25
src/test/kotlin/com/gildedrose/QualityTest.kt
Normal file
25
src/test/kotlin/com/gildedrose/QualityTest.kt
Normal file
@ -0,0 +1,25 @@
|
||||
package com.gildedrose
|
||||
|
||||
import com.gildedrose.core.TestUtils
|
||||
import com.gildedrose.core.TestUtils.generateRandomName
|
||||
import com.gildedrose.core.TestUtils.generateRandomNumber
|
||||
import com.gildedrose.core.TestUtils.pickRandomItem
|
||||
import com.gildedrose.core.advanceTimeBy
|
||||
import org.assertj.core.api.Java6Assertions.assertThat
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
|
||||
class QualityTest {
|
||||
|
||||
private lateinit var store: Array<Item>
|
||||
|
||||
@Before
|
||||
fun setUp() {
|
||||
store = TestUtils.fixture
|
||||
}
|
||||
|
||||
@Test
|
||||
fun name() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,7 @@ import org.assertj.core.api.Java6Assertions.assertThat
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
|
||||
class GildedRoseTest {
|
||||
class SellInTest {
|
||||
|
||||
private lateinit var store: Array<Item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user