com.zebrunner.agent.testng.core.TestMethodContext Maven / Gradle / Ivy
package com.zebrunner.agent.testng.core;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
/**
* Stores context of specific test method (not to be confused with specific test execution) belonging to specific test class instance
*/
public class TestMethodContext {
private static final AtomicBoolean CUCUMBER = new AtomicBoolean(true);
private static final Map, List