Ask Your Question
0

How does `pdk test unit` account for the dependencies of the module-under-test?

asked 2018-01-20 13:40:43 -0500

hesco gravatar image

I'm running pdk test unit, having documented my dependencies in metadata.json, but get "error during compilation: Evaluation Error: Unknown function: 'postgresql_password'."

How do I assure the tests that this function is provided by dependent module?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-21 02:59:36 -0500

hesco gravatar image

It seems that .fixtures.yaml gets read by the setup target run by bundle exec rake spec. Dependencies outlined in that file are then deployed to spec/fixtures/modules, and that path is consulted for dependencies.

Think I got that one sorted out now. Thanks.

-- Hugh

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-20 13:40:43 -0500

Seen: 63 times

Last updated: Jan 21