Open xinity opened 8 years ago
IS_INSTALLED
and OS_MATCH
are not supported :disappointed:
Only USER_EXISTS and FILE_EXISTS are currently supported. Please open an issue if you want to add support for it.
But since you have request it I will implement IS_INSTALLED
, OS_MATCH
, FILE_CONTAINS
really soon.
Awesome !
can i be of any help ? is it hard to implement ALL test templates ?
let me know, i'll be glad to give a hand
Le mer. 30 déc. 2015 à 09:47, Mario Loriedo notifications@github.com a écrit :
IS_INSTALLED and OS_MATCH are not supported [image: :disappointed:]
Only USER_EXISTS and FILE_EXISTS are currently supported. Please open an issue if you want to add support for it.
But since you have request it I will implement IS_INSTALLED, OS_MATCH, FILE_CONTAINS really soon.
— Reply to this email directly or view it on GitHub https://github.com/l0rd/docker-unit/issues/3#issuecomment-167958913.
I'll create a new issue for you next week. We would like to use regular expressions to match dockerfiles instructions with @BEFORE and @AFTER. I'll describe it better in the issue.
In the meantime you could try to build docker-unit and run go test locally and provide some feedback about that ?
FILE_CONTAINS is implemented in PR: https://github.com/l0rd/docker-unit/pull/7
waiting to be validated and merged :)
I'm back from a few days off. Expect to be it merged this afternoon.
On Monday, 4 January 2016, Rachid Zarouali notifications@github.com wrote:
FILE_CONTAINS is implemented in PR: #7 https://github.com/l0rd/docker-unit/pull/7
waiting to be validated and merged :)
— Reply to this email directly or view it on GitHub https://github.com/l0rd/docker-unit/issues/3#issuecomment-168726931.
nice ! thanks !
if you have some spare time (which i doubt while being back from a few days off) can you take a look at my latest issue regarding IS_RUNNING and IS_LISTENING_ON_PORT.
if we can manage to implement them, we'll have something really powerfull to make unit tests :)
let me know :)
I've reviewed PR #7. Great job ! I've added some comments. The most important one is about rebasing your branch, the rest are minor changes.
I'll have a look at #8 later :smiley:
hi,
been trying to use test templates like this:
but here is the output of docker-unit:
did i missed something ?
also tried OS_MATCH which failed as well