본문 바로가기

분류 전체보기474

부트 스트랩 - Forms 사용 방법 Forms(양식) 사용하는 방법 https://getbootstrap.com/docs/5.0/forms/overview/ Forms Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms. getbootstrap.com Form기능중에는 아래와 같은 기능을 골라서 사용할 수 있다. class 이름을 선언하여 각각의 기능을 구현할 수 있다. 2021. 6. 28.
부트 스트랩 - Components 사용 방법 (Dropdowns, List group) Dropdowns 사용 방법 https://getbootstrap.com/docs/5.0/components/dropdowns/ Dropdowns Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin. getbootstrap.com 드롭다운의 구조 아래와 같이 class 명을 선언해주어서 적용 시킨다. List group 사용 방법 https://getbootstrap.com/docs/5.0/components/list-group/ List group List groups are a flexible and powerful component for displaying a serie.. 2021. 6. 28.
부트 스트랩 - Components 사용 방법 (Button) 버튼 예제 https://getbootstrap.com/docs/5.0/components/buttons/ Buttons Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more. getbootstrap.com 사이트에 사용 방법이 나와있어서 그대로 따라 하다 보면 익숙해질 것이다. class 이름에 특정 버튼을 의미하는 명칭을 적어주면 적용이 된다. 버튼 만들기, 버튼 그룹 만들기, outline 버튼 만들기 예제 Primary Secondary Success Danger Warning Info Link ABC Light Dark ou.. 2021. 6. 28.
부트 스트랩 시작 부트 스트랩을 사용하면 미리 정의되어있는 기능들을 활용하여 손쉽게 기능을 구현할 수 있다. 부트 스트랩 공식 사이트 https://getbootstrap.com/ Bootstrap The most popular HTML, CSS, and JS library in the world. getbootstrap.com poper.js: 부트스트랩 js 파일에서 사용되어 지는 js 이다, 이미 사용 하고 있을때는 poper를 bootstrap js파일보다 상위에 배치해야 한다. https://popper.js.org/ Home Positioning tooltips and popovers is difficult. Popper is here to help! Popper is the de facto standard t.. 2021. 6. 28.
jacoco를 이용하여 테스트 커버리지 확인하는 방법 사이트 https://woowabros.github.io/experience/2020/02/02/jacoco-config-on-gradle-project.html Gradle 프로젝트에 JaCoCo 설정하기 - 우아한형제들 기술 블로그 안녕하세요. 상품시스템팀에서 서버 개발(..새발)을 하고 있는 연철입니다.프로젝트 세팅 중에 찾아보고 삽질했던 내용들이 도움이 될까 하여 남깁니다. woowabros.github.io Jacoco Java코드의 코드 커버리지를 체크하는 라이브러리 결과를 html, xml, csv로 확인이 가능하다 Gradle에 plugins 항목에 id 추가 plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dep.. 2021. 6. 27.
Spring에서 JUnit 테스트 진행 - REST API CRUD 테스트 MockMvc를 이용하여 Controller Test를 진행한다. MockMvc: 테스트에 필요한 기능만 가지는 가짜 객체를 만들어서 애플리케이션 서버에 배포하지 않고 스프링 MVC 동작을 재현 할 수 있는 클래스 perform(): 원하는 요청을 전송하는 역할 andDo(print()): 요청/응답 전체 메세지를 확인할 수 있다. @MockBean: 해당 클래스를 Mock 처리하고 스프링에서 bean으로 등록하여 사용 위해서 선언 @SpringBootTest: 모든 bean이 등록되어 사용할 때 선언, 전체 테스트를 진행할 때 사용 https://shinsunyoung.tistory.com/52 SpringBoot의 MockMvc를 사용하여 GET, POST 응답 테스트하기 안녕하세요! 이번 포스팅에서.. 2021. 6. 27.