class TestISpec extends grails.plugin.spock.IntegrationSpec {
def 'this should do that'() {}
}
Tuesday, October 21, 2014
How to start your grails integration tests
I always keep forgetting how to start writing my grails integration tests. I hope this helps someone
Thursday, October 9, 2014
Getting unique commits in a branch ..well almost
To list unique commits in a branch
Then you can format the output as follows
git log --first-parent --no-mergesFor more details checkout http://stackoverflow.com/questions/5720343/using-git-show-all-commits-that-exist-only-on-one-specific-branch-and-not-a
Then you can format the output as follows
git log --first-parent --no-merges --pretty=format:"%H %s"Then you get something like
3d6995f61c1359e44c98433bb5ed4251798002c3 My Commit
Monday, May 12, 2014
Friday, May 9, 2014
Get all tables that have a certain field
select table_name from columns where table_schema = 'mydatabase' and column_name = 'looking_for_this_field';
Wednesday, March 26, 2014
NoClassDefFoundError
NoClassDefFoundError in Java comes when Java Virtual Machine is not able to find a particular class at runtime which was available during compile time.
Read more: http://javarevisited.blogspot.com/2011/06/noclassdeffounderror-exception-in.html#ixzz2x8LeYeww
Read more: http://javarevisited.blogspot.com/2011/06/noclassdeffounderror-exception-in.html#ixzz2x8LeYeww
Subscribe to:
Posts (Atom)