having error stuck on this, using make testacc ```...
# atmos-dev
v
having error stuck on this, using make testacc
Copy code
Workspace "prod-station" doesn't exist.
        
        You can create this workspace with the "new" subcommand 
        or include the "-or-create" flag with the "select" subcommand.
p
which version of atmos?
v
latest
e
Which test in particular
One of my concerns is we're abusing the weather component for testing, when it was designed for demos
v
this is make testacc
e
Yes, but which test ?
Copy code
e.g. `TestCLICommands/atmos_validate_stacks_with_metadata
`
v
checking
cli_terraform_test.go
e
Ok,
cli_terraform_test
needs to be updated to use https://github.com/cloudposse/atmos/tree/main/tests/fixtures/components/terraform/mock instead
so we stop DOS attacking
wttr.in
😃
v
good idea
e
Do you think you can do that?
v
absolutely I can handle it
šŸ‘ 1
e
we might need to create a new scenario
šŸ‘ 1
v
so just to be clear should I change the quick-simple example to mock or create another one?
e
so let me try to reframe this
• so we have the
examples/*
which we should test, but not use for testing (if that makes sense). Meaning we should test them, so we don't break them, but not reuse them for other tests. • then we have
tests/fixtures/*
which we should use for all the aggressive testing.
So the idea with
demo-stacks
is that we are testing the demo.
šŸ‘ 1
But not that we should use it for testing something like, let's say, that vendoring produces log error messages.
I think we should have a simple fixture that uses mock terraform component, so it's a) super fast b) doesn't introduce a lot of things we're not testing.
āœ… 1
When we use mock, we're not really testing that we can terraform, were testing everything else in atmos