Boost C++ Libraries: Ticket #1561: Using BOOST_AUTO_TEST_CASE with boost::program_options https://svn.boost.org/trac10/ticket/1561 <p> I am trying to use boost::program options with BOOST_AUTO_TEST_CASE, but cannot work out how / where to set up the main program and get at the arguments. </p> <p> The issue seems to be complicated by test recognising some options (according to some of the documentation). </p> <p> Is there a suitable recipe? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1561 Trac 1.4.3 John Pavel jrp at dial dot pipex dot com Tue, 15 Jan 2008 18:51:25 GMT <link>https://svn.boost.org/trac10/ticket/1561#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1561#comment:1</guid> <description> <p> This can be close as I have hit upon a solution that seems to do the trick. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gennadiy Rozental</dc:creator> <pubDate>Mon, 21 Jan 2008 17:16:10 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1561#comment:2 https://svn.boost.org/trac10/ticket/1561#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> you should use shared library version of Boost.Test. It has an ability otdo what you need. </p> Ticket