Fedor Bobin
Fedor Bobin
@paplorinc About order: Main idea is to allow random parameter order and map parameters by name only. For example test1 and test2 are same and both will pass: ``` def...
@paplorinc I can not understand what can confuse. Just forget about order and all will become clear. Nobody rely on parameter order when invoking method (if it is not reflection...
May be something like this (better to place source value at the first place): ``` def "test decryption"(byte[] encrypted, byte[] key, byte[] expectedDecrypted){ when: byte[] decrypted = new Decryptor().decrypt(key, encrypted)...
> > My PR forbids optional parameters > > Then it conflicts with my PR Yes. But if you want default values for parameters, you can write interceptor that provide...
Why `String type` parameter is String? May be it should be enum? Why only `when` and `then` blocks? `setup` and `expect` can be interesting too.
Hi. May be we can change type of Description.fUniqueId to String and add public getter => IDE will be able to filter tests by description. It will help to rerun...
How should it affects runners hierarchy? Or it should affect only Descriptions?
I found a workaround: readToTree and convert to target object: ``` import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.dataformat.xml.XmlMapper; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; public class...