21#include <boost/test/unit_test.hpp>
22#include <wx/filename.h>
36 qaPath.AppendDir(
"wizards" );
41 constexpr int timeoutMs = 10000;
42 constexpr int sleepMs = 100;
47 while( elapsed < timeoutMs )
50 wxMilliSleep( sleepMs );
57 BOOST_TEST_WARN( elapsed < timeoutMs,
"Timed out waiting for manager to finish loading plugins" );
61 BOOST_TEST_WARN( !actions.empty(),
"No available wizards to test with (maybe Python or kicad-python unavailable?); skipping tests" );
66 for(
auto& action : actions )
71 BOOST_TEST_REQUIRE( !action->description.IsEmpty() );
72 BOOST_TEST_REQUIRE( !action->entrypoint.IsEmpty() );
General utilities for PCB file IO for QA programs.
Responsible for loading plugin definitions for API-based plugins (ones that do not run inside KiCad i...
std::vector< const PLUGIN_ACTION * > GetActionsForScope(PLUGIN_ACTION_SCOPE aScope)
void ReloadPlugins(std::optional< wxString > aDirectoryToScan=std::nullopt)
Clears the loaded plugins and actions and re-scans the filesystem to register new ones.
std::string GetPcbnewTestDataDir()
Utility which returns a path to the data directory where the test board files are stored.
PGM_BASE & Pgm()
The global program "get" accessor.
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_TEST_MESSAGE("\n=== Real-World Polygon PIP Benchmark ===\n"<< formatTable(table))
BOOST_TEST_CONTEXT("Test Clearance")