<div dir="ltr">If its just functional testing without any UI, why not just use phpunit directly?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br></div>Lucas<div><a href="http://www.mtech-llc.com" target="_blank">MTech, LLC</a></div></div></div></div>
<br><div class="gmail_quote">On Mon, Dec 1, 2014 at 1:29 PM, Jeff Greenberg <span dir="ltr">&lt;<a href="mailto:listmail.ayendesigns@gmail.com" target="_blank">listmail.ayendesigns@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Argh. Been so long that I sent this to the dev list by mistake...<div><br></div><div><span class=""><span style="font-family:arial,sans-serif;font-size:13px">In Drupal 7, I have a requirement to simpletest a functional group of methods... one test comprised of about 1800 subtest permutations. </span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The issue I have is that these are back-end functions with no UI interaction, yet simpletest unit test, from what I read, does not provide the functionality for accessing the db, creating test tables and data, etc.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Do I fudge it by having a menu callback, or by having an admin page with a button if necessary, so that I can webtest, or do I manually include db.inc, etc. so that I can access the db, (though I think it would need to be much dirtier than that)?</div><div><br></div><div>Jeff</div></span><span class=""><div>---<div><a href="http://drupal.org/user/367108" target="_blank">drupal.org/user/367108</a></div><div><a href="http://linkedin.com/in/jeffrgreenberg" target="_blank">linkedin.com/in/jeffrgreenberg</a></div><div><a href="http://accidentalcoder.com" target="_blank">accidentalcoder.com</a> / <a href="http://ayendesigns.com" target="_blank">ayendesigns.com</a></div><div>@accidentalcoder</div></div>
</span></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>