Skip to content

Commit

Permalink
adicionando teste inicial para banco de dados
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenriquefs committed Oct 30, 2023
1 parent c9547b6 commit cc21097
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/test/java/com/casaculturaqxd/sgec/AppIT.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/UnitTests/JUnit5TestClass.java to edit this template
*/
package com.casaculturaqxd.sgec;

import com.casaculturaqxd.sgec.jdbc.DatabasePostgres;
import java.util.Stack;
import javafx.stage.Stage;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.fail;

/**
*
* @author gusta
*/
public class AppIT {

public AppIT() {
}

/**
* Test of start method, of class App.
*/
@Test
public void testStart() throws Exception {
DatabasePostgres db;
db = DatabasePostgres.getInstance("URL_TESTE", "USER_NAME_TEST", "PASSWORD_TEST");
}

}

0 comments on commit cc21097

Please sign in to comment.