[Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #12954: https://magic.piktochart.com/output/21617529-the-chainsmokers-memories-do-not-open-download-album"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12788: optional 1.63 no longer can be initialized from '<brace-enclosed initializer list>'"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
#12953: access to master_test_suite().{argc, argv}
------------------------------+---------------------
Reporter: ope-devel@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.63.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
Hello,
for testing I use a "loader" class to read input and expected files from
filesystem. These files are used by the data-driven test cases. The path
to these files are given from command line.
Due to the fact that datasets are creating static objects on file scope, I
can't access them by calling master_test_suite().{argc, argv} outside of
e.g. BOOST_AUTO_TEST_CASE where the "loader" exist.
Using the Fixture approach fails to compile, see attachement. Further, as
far I understood, the files would be loaded again for each data driven
test, which is not intended.
Following the docs, I didn't found a way to get access to the (in best
case from boost.test args pruned) argc/argv. Is it a missing feature and
bug?
The initial thread is on ML "[boost] [Boost.Test] access to
boost::unit_test::framework::master_test_suite().{argc, argv} outside from
BOOST_TEST"
Thanks,
Olaf
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12953>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #12954: https://magic.piktochart.com/output/21617529-the-chainsmokers-memories-do-not-open-download-album"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12788: optional 1.63 no longer can be initialized from '<brace-enclosed initializer list>'"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #12953: access to master_test_suite().{argc, argv}"
This archive was generated by hypermail 2.1.7
: 2017-04-07 09:20:40 UTC