Using Geb for automatic assignment grading

22 views
Skip to first unread message

Dilvan Moreira

unread,
May 2, 2018, 7:47:57 AM5/2/18
to Geb Development Mailing List
   Is it possible to use (or adapt) Geb for automatic assignment grading? The idea is to assign grades to each feature a student gets right (passes a test using Geb).

   I never used Geb before, but I've been using groovy for more than 3 years and have developed a DSL using it. I would like to know:
  1. Can I find which "features" (maybe asserts) failed in a Geb script programatically?
  2. Is it possible to add an option in Geb to assign "weights" to assert successes and add them? Can you point me to the relevant documentation?
   Thanks,
Dilvan.

Marcin Erdmann

unread,
May 3, 2018, 5:13:04 PM5/3/18
to geb...@googlegroups.com
Hi Dilvan,

Geb is test framework agnostic and has no concept of feature/test. It is in general a browser automation solution written in Groovy on top of WebDriver and it comes with a number of integrations for test frameworks - Spock, JUnit and TestNG. So if you already have anything built for automatic assignment grading using any of the frameworks mentioned it should be trivial to adapt it to be used with Geb.

I hope this helps but don't hesitate to ask additional questions if you have any.

Cheers,
Marcin

--
You received this message because you are subscribed to the Google Groups "Geb Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-dev+unsubscribe@googlegroups.com.
To post to this group, send email to geb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-dev/e8781559-1b7e-4072-9099-f6f9dd921d6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages