Сборка завершается с ошибкой
Final вывод во время сборки говорит:
Код: Выделить всё
[testng] ===============================================
[testng] Suite
[testng] Total tests run: 1, Failures: 0, Skips: 1
[testng] Configuration Failures: 1, Skips: 2
[testng] ===============================================
[testng]
[testng] The tests failed.
testng-failed .xml выглядит следующим образом:
Код: Выделить всё
Код: Выделить всё
@Test
@ContextConfiguration(locations = { "file:spring-configuration/mydb-integration-testing.xml" })
public class PersistUrlTests extends AbstractTestNGSpringContextTests {
@Autowired
protected MobiusDatabaseServiceClient mobiusDatabaseServiceClient;
@Autowired
UrlDAO urlDAO;
@Autowired
ScraperUrlDAO scraperUrlDAO;
@BeforeClass
public void init() throws Exception {
}
@Test
public void checkTest() {
GetActiveCategoriesResponse response = mobiusDatabaseServiceClient.newGetActiveCategoriesCall().call();
System.out.println(response.getCategoryList());
Assert.assertTrue(true);
}
}
Код: Выделить всё
Я не уверен, как отлаживать эти XML-файлы, сгенерированные testNG, поскольку они, похоже, не синхронизированы друг с другом. другое.
Какой именно файл следует посмотреть? И почему они не поддерживают ту «конфигурацию», которая не удалась?
Подробнее здесь: https://stackoverflow.com/questions/186 ... rmation-in