I've the following scenario:
- Five
class
; - Each one of five
class
has the same decorator@test
; - Decorator
@test
get allfunctions
of aclass
and store in static variabletests
;
I want to run all methods at the same time that is stored in static variable tests
. So, how can I do that?
obs: I'm studying typescript, so, I'm a new one with the language. And I'm trying to create for study purposes a framework that run tests similar to MSTest, nUnit, xUnit (c#).
class exemple:
@test()
class TestDataUnitsTest {
public startup() {
}
public testOne(){
}
public testTwo(){
}
}