Is it considered okey to define JUnit tests like t...
# announcements
z
Is it considered okey to define JUnit tests like this:
Copy code
@Test 
fun `do something here`() {

}
d
Are you referring to using backticks to have spaces in the function name? That’s pretty typical in my experience, although I believe you may run into problems if you try and do that with Android tests.
z
Cool, I'm not doing android đŸ˜„
a
I really like using sentences for my test functions and often use BDD scenario names e.g.
Copy code
fun `Given ... When ... Then ... `(){ }