본문 바로가기

Test11

[Python] 테스트자동화 unittest 테스트 자동화를 JAVA로 작성할 경우는 JUnit 및 TestNG를 이용해서 케이스를 만들어서 케이스별 결과를 확인할 수 있다. 조사해보니 Python으로 작성할 경우는 없는 줄 알았는데 unittest와 pytest 등을 제공해서 케이스를 작성할 수 있다. Python 내장 모듈인 unittest을 통해서 다른 라이브러리 없이 비교적 간단하게 단위 테스트를 작성할 수 있다. # 단위 테스트 작성 import unittest Testcase 작성하기 # test.py import unittest class TestExample(unittest.TestCase): def test_upper(self): self.assertEqual('foo'.upper(), 'FOO') def test_isupper(s.. 2021. 1. 26.
MAC에서 Appinum 설치하기 URL : github.com/appium/appium-desktop/releases/tag/v1.19.1 Release 1.19.1 · appium/appium-desktop Bump Appium version to 1.19.1 Update translations (Inspector is the same as 1.18.3) github.com 자동화 테스트를 진행하고자 MAC에 Appinum을 설치하고자 하는데 다운로드를 받고 실행을 하면 계속 appium 응용 프로그램을 열 수 없습니다 팝업이 노출됐다. 검색해도 안나오다가 다른 맥 버전(dmg)을 설치을 설치하니 그때부터 되었다. zip 파일이 아닌 dmg 파일로 다운로드 받는 걸 추천! 2021. 1. 25.
[Test Framework] katalon HomePage : https://www.katalon.com/Documentation: https://docs.katalon.com/katalon-studio/docs/index.htmlFeaturesSetup ProjectBuilt-in project templates Provides project templates for organizing test cases, object repository and keywordsWeb, mobile, API testing Fully supports Web, Android, iOS and API testing on all operating systemsSDLC integration Easy to integrate with Jenkins, GIT, JIRA, and.. 2018. 3. 13.
postgresql jdbc test code import java.sql.DriverManager;import java.sql.Connection;import java.sql.SQLException; public class Example1 { public static void main(String[] argv) { System.out.println("Checking if Driver is registered with DriverManager."); try { Class.forName("org.postgresql.Driver"); } catch (ClassNotFoundException cnfe) { System.out.println("Couldn't find the driver!"); System.out.println("Let's print a s.. 2016. 7. 25.