-
Hi, all. I am new to bash and bats. I am trying to test hardware which can be a pain to setup, so I am trying to setup stubs with fake data. For context I am testing cellular modems with one or two sim cards and relying on hardware or signal can be hard to come by. I found bats-mock to be pretty good for my use case. I can get it to work if everything is in one file, but doesn't work by setting up a project structure. https://github.com/TheFern2/my-bats-mock-test I've opened up an issue in bats-mock but not sure if that repo is maintained anymore jasonkarns/bats-mock#25
Does anyone have a solution why my project isn't finding the stub, or can you please provide other solutions for stubbing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answer to the solution. |
Beta Was this translation helpful? Give feedback.
Answer to the solution.
jasonkarns/bats-mock#25 (comment)