spock
Spock without maven or gradle
I have a standard Java project that uses ant for building. I would like to add spock testing to this project without disrupting the current process. What is the minimum set of changes that would allow[详细]
2023-04-02 10:10 分类:问答Is documentation readable by non-programmers possible with Spock?
FitNesse has a wiki-style documentation feature. It provided both the code and the doc\'s for these specification tests.[详细]
2023-03-25 06:57 分类:问答Weak failure trace when using page object pattern with spock and geb
When using spock+geb you can assert that you are on expected page by assertion e.g.: assert title == \'Sign In\'[详细]
2023-03-21 04:09 分类:问答How to use the @Value annotation with a Spring PropertyPlaceholderConfigurer in a Spock test?
It is possible to use the @Value annotation with a Spring PropertyPlaceholder开发者_如何学编程Configurer?[详细]
2023-03-17 15:51 分类:问答How to use Geb to check element attribute value after page event
After a bit of help here, I am writing a functional web test using Geb and want to test the disabled attribute value of an form submit button both before and after an event has occurred, the flow shou[详细]
2023-03-11 20:07 分类:问答How do you get the sessionFactory in a Grails Geb/Spock test case?
I think I need to flush the hibernate session in a GebSpec test, and so I want to get the sessionFactory.[详细]
2023-03-09 11:50 分类:问答peculiar behaviour of mockDomain
Hi I have the below unit test, class BookUnitSpec extends UnitSpec{ def \"Person_roleOf() is able to retrive the person role based on the ROLETYPE enum\"(){[详细]
2023-03-04 21:58 分类:问答spock versus easyb
I just had brief looks at easyb and spock , both seem to be similar, however spock seems to be more technically oriented, is there any best practice regarding when to use which ?[详细]
2023-02-17 17:24 分类:问答How to test a Grails Service that utilizes a criteria query (with spock)?
I am trying to test a simple service method. That method mainly just returns the results of a criteria query for which I want to test if it returns the one result or not (depending on what is queried[详细]
2023-02-15 06:49 分类:问答Why is this Spock Specification in Grails resulting in 'identifier of an instance of projectname.Event was altered from 1 to 2;'?
Running test-app integration:spock causes the following error: identifier of an instance of projectname.Event was altered from 1[详细]
2023-02-06 07:35 分类:问答