I am referring to JUnit annotations like @test, @before , @after.
e.g i can write a method:
@Ignore("Not Ready to Run")
@Test
multiplication():
self.assertEqu开发者_如何学Goal('15', simpleMath.multiply(3, 5))
That syntax is called decorator in python 2.6. I'm not sure whether it is the same thing as an innotation though.
加载中,请稍侯......
精彩评论