rem: test("before(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(4); var expected = 'This is a normal link: bugaYahoo'; $('#yahoo').before('<b>buga</b>'); ok( expected == $('#en').text(), 'Insert String before' ); 
add: test("prepend(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(5); var defaultText = 'Try them out:' var result = $('#first').prepend('<b>buga</b>'); ok( result.text() == 'buga' + defaultText, 'Check if text prepending works' ); ok( $('#select3').prepend('<option value="prependTest">Prepend Test</option>').find('option:first-child').attr('value') == 'prependTest', 'Prepending html options to select element'); 
context: test("before(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(4);	var expected = 'This is a normal link: bugaYahoo';	$('#yahoo').before('<b>buga</b>');	ok( expected == $('#en').text(), 'Insert String before' );		reset();	expected = "This is a normal link: Try them out:Yahoo";	$('#yahoo').before(document.getElementById('first'));	ok( expected == $('#en').text(), "Insert element before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before([document.getElementById('first'), document.getElementById('mark')]);	ok( expected == $('#en').text(), "Insert array of elements before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before($("#first, #mark"));	ok( expected == $('#en').text(), "Insert jQuery before" );});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/200319ea6b6a59daebce1cfc1d330a9d52c208c0/coreTest.js/buggy/src/jquery/coreTest.js