I'm using reflection in Java to obtain some information from the TestNG annotation like in the code snippet below:
Reflections reflections = new Reflections("", new MethodAnnotationsScanner())
Set<Method> annotated = reflections.getMethodsAnnotatedWith(Test.class)
Currently, I have a jest framework with a jest-decorated plugin to help in using annotations.
How I can replicate the same reflection method in Java but in typescript to collect this information from the annotations?
Aucun commentaire:
Enregistrer un commentaire