You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for the great library. I'm posting this in case someone else finds it useful. I was trying to create a simple integration test with rocket. I was bashing my head until I learned that cfg(test) is false when doing an integration test.
I have an e2e flag on my config and used that instead. Anyway here is my lib.rs and integration_test.rs, respectively. (Please excuse the quality, I'm new to rust. Any feedback is appreciated)
Hello,
Thank you for the great library. I'm posting this in case someone else finds it useful. I was trying to create a simple integration test with rocket. I was bashing my head until I learned that
cfg(test)
is false when doing an integration test.See: rust-lang/rust#45599
I have an e2e flag on my config and used that instead. Anyway here is my lib.rs and integration_test.rs, respectively. (Please excuse the quality, I'm new to rust. Any feedback is appreciated)
The text was updated successfully, but these errors were encountered: