Questions tagged [grails-test]

Use this tag when making Grails testing from low level unit testing to high level functional tests.

0
votes
0answers
14 views

Grails test-app fails while test-app individual unite test works

I have got a Grails 3.3.5 application with several Unit tests. While I run this tests individually they run as expected, but when I run a general test-app the tests fails with this message: org....
0
votes
2answers
23 views

Get config of other environment in Grails 2.*

I'm running Grails 2.1.1, and i'm looking for a way to get the value of variable set in production while i'm running on test environment. The config file : development { config.url = "http://local" ...
0
votes
1answer
26 views

How to write testcase in Ruby on Rails [closed]

I am newbie in Rails test. so how can I start my testing. Anyone Knows better tutorial for Rails testing.
0
votes
1answer
102 views

How to call a method from domain class when testing in Grails?

I have a static method written in my domain class , which I have to test in my Grails test. Now how to call that method from domain class. That static method will fetch some data from my db and will ...
0
votes
0answers
207 views

Grails problems with testing: setup and cleanup , not quite cleaning up

I have a integration test where I am testing some business logic methods that run between two of my domain objects. Because I have multiple test that create the same set of objects to run my tests ...
0
votes
1answer
69 views

Grails 3 with Geb fails on “angular-moment”

I am trying to setup Geb with Grails 3. (I am running it from Intellij) We are currently implementing an api without any ux. For us it's enough to test REST API requests. I start the tests via test-...