So what if I could create a spec for this form, and run it before creating the form. It could say "missing fields 'field1', 'field2', 'field3'. If I ran it on this form I was just talking about, it could say "missing field 'thumb', unnecessary field 'thumb2'". I could also run it after receiving code from a designer, to make sure they included everything they needed.
Actually I think thats a nice idea, I just tried it on Selenium IDE, you can make a real simple page that contains literally just the form elements, and this bit of feedback:
PHP Code:
<?php
foreach( $_POST as $k=>$v )
echo $k .'='. $v ;
?>
<form action ="" method=post id=from>
<input type=text id=thumb>
//your other necessary elements here
<input type=submit>
</form>
?>
Then create a Selenium script containing lines like this:
Code:
//look in source view to see lines like this
<tr>
<td>AssertTextPresent</td>
<td></td>
<td>thumb=test</td>
</tr>
I am pretty sure you could automate a lot of that, especially the tests, then just tell Selenium a different target url when they have ponced up the page.
In fact you should be able to pass the responsibility of passing the Selenium tests over to them before you get the pages back - its such a simple thing.
I wonder if that the kind of thing you could automate from say, an ini file in a shared location.
Bookmarks