Fix typos and improve description in the tests.
continuous-integration/drone/tag Build is passing Details

main 0.6.2
KKlochko 2 years ago
parent 38f4cf3464
commit 19f638e091

@ -12,7 +12,7 @@ import spock.lang.Title
@Narrative("""The factory must generate a test command, so
those tests check if factory generate them right.
""")
@Title("Unit test for TestCommandFactory")
@Title("Unit tests for TestCommandFactory")
class TestCommandFactorySpec extends Specification {
def "If the map of methods have one test block."() {
given: "I have a TestCommandFactory object"

@ -10,12 +10,12 @@ those tests check if responses are right.
""")
@Title("Integrated tests for NameClassLoader.")
class IntegratedNameClassLoader extends Specification {
def "The class has been run."() {
def "The class names have been loaded."() {
given: "I have a class loader"
@Subject
def loader = new NameClassLoader();
def loader = new NameClassLoader()
when: "The class names ware loaded"
when: "The class names were loaded"
def classNames = loader.load()
then: "Checking that the test result is expected"

@ -11,10 +11,10 @@ those tests check if responses are right.
""")
@Title("Integrated tests for ClassLoader.")
class IntegratedSingleClassLoader extends Specification {
def "The class has been run."() {
def "The class has been loaded."() {
given: "I have a class loader"
@Subject
def loader = new SingleClassLoader(className);
def loader = new SingleClassLoader(className)
when: "The class was loaded"
def aClass = loader.load()

Loading…
Cancel
Save