matthiasblaesing commented on PR #7892:
URL: https://github.com/apache/netbeans/pull/7892#issuecomment-2451658695

   > What would be the right way to write a unit test for this?
   
   Depends on what you want to validate the core problem would only have been 
visible with an integration test running against a real postgres DB. In this 
case, I would validate manually and be done with it. I spun up a minimal 
postgres DB using Docker (apart from the port this is a verbatim copy of the 
command suggested on docker hub):
   
   ```
   docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 
5432:5432 -d postgres
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to