• @MotoAsh
    link
    4
    edit-2
    1 month ago

    Ohhhhh nononono, I am NOT besmirching containers.

    I am merely pointing out that unit tests come before any deployment what so ever. If you’re having mock issues, you are writing your code wrong. Even basic OOP and encapsulation practices should keep your various classes/objects from becoming too intertwined to easily mock.

    PHP? Oh… oh that explains a lot… You sweet, sweet summer child.

    • @Olap
      link
      11 month ago

      Yeah, testing in containers I think docker compose could do with some more support personally. Not sure what, but they have deploy and build blocks, I’d like to see a testing block and a docker compose test