Themion
Themion
DTDrizzle Team
Created by Themion on 7/25/2023 in #help
Is there any tip for unit testing with drizzle?
Maybe I should've tried that first. Thank you for the help!
17 replies
DTDrizzle Team
Created by Themion on 7/25/2023 in #help
Is there any tip for unit testing with drizzle?
I didn't know the could... Is that like running delete query in beforeEach?
17 replies
DTDrizzle Team
Created by Themion on 7/25/2023 in #help
Is there any tip for unit testing with drizzle?
I know that is ideal, but clearing DB manually every time I fix some minor error or typo seems to be an overkill. Is there a way to clear DB automatically?
17 replies
DTDrizzle Team
Created by Themion on 7/25/2023 in #help
Is there any tip for unit testing with drizzle?
The problem happened when running test multiple times. I was using sample email for testing, and running same test(inserting same value) made error.
17 replies
DTDrizzle Team
Created by Themion on 7/25/2023 in #help
Is there any tip for unit testing with drizzle?
I can, but I don't think that would help. I am running unit tests with my local DB, which is causing some values that should be unique (like user email) to be duplicated. I don't think either dropping tables or creating random value is an ideal solution too.
17 replies