raniejade
06/23/2016, 9:18 AMartem_zin
06/23/2016, 9:20 AMartem_zin
06/23/2016, 9:20 AMkirillrakhman
06/23/2016, 9:21 AMkirillrakhman
06/23/2016, 9:21 AMkirillrakhman
06/23/2016, 9:56 AMylemoigne
06/23/2016, 10:54 AMraniejade
06/26/2016, 12:39 PM@Experimental
to spek. Any public API marked with this annotation may be subject to incompatible changes, or even removal, in feature releases. New features added will be marked as experimental at the beginning. Based on your feedback the feature can be removed or changed in a backwards incompatible way in the next releases. Let me here your opinions about this 🙂mkobit
06/26/2016, 2:31 PMraniejade
06/26/2016, 2:41 PMcedric
06/26/2016, 2:48 PM@Experimental
a satisfying solution since you can't really describe which annotation it applies to (and as a matter of fact, the Javadoc in that source says that all annotations on the class become experimental). I've been wondering about a different approach that might be more drastic: whenever you introduce a new annotation that's experimental, add an attribute experimental
to it and force users to set that attribute to true
. If they don't, blow up. This makes it clear to everyone that this code is using experimental features.
When the annotation becomes stable, remove experimental
, which will cause all the current code to stop compiling, which is also a desired effect.raniejade
06/26/2016, 2:55 PM@Experimental
to new features we publish.cedric
06/26/2016, 2:55 PMexperimental
attribute to itraniejade
06/26/2016, 2:56 PMraniejade
06/26/2016, 2:56 PMcedric
06/26/2016, 2:56 PM@TheNewAnnotation(experimental = true)
, kind of a way to make people acknowledge they realize this is a work in progresscedric
06/26/2016, 2:56 PMhhariri
raniejade
06/26/2016, 3:02 PMjasper
06/30/2016, 4:53 AMconnorlay
06/30/2016, 5:18 AMhhariri
artem_zin
06/30/2016, 7:58 AMjasper
06/30/2016, 8:35 AMartem_zin
06/30/2016, 8:40 AMbeforeEach
* Don’t use special symbols like ,.(/
in the names, JUnit4 reporting can’t handle them well
* Each parent beforeEach
will be invoked for each it()
* Use functions with f
prefix to execute only one branch of Spek tree (since IDE doesn’t detect separate test cases)jasper
06/30/2016, 8:43 AMraniejade
06/30/2016, 8:44 AMraniejade
06/30/2016, 10:42 AMartem_zin
06/30/2016, 11:15 AMraniejade
06/30/2016, 11:15 AM