Behat
![]() | |
| 개발자 | Konstantin Kudryashov |
|---|---|
| 발표일 | 2010년 9월 8일[1] |
| 안정화 버전 | 3.18.1
/ 2025년 1월 10일[1] |
| 저장소 | |
| 프로그래밍 언어 | PHP |
| 운영 체제 | 크로스 플랫폼 |
| 종류 | 행위 중심 개발 |
| 라이선스 | MIT 허가서 |
| 상태 | 개발 중 |
| 웹사이트 | behat |
Behat은 PHP 프로그래밍 언어로 개발된 행위 중심 개발을 위한 테스트 프레임워크이다. Behat은 Konstantin Kudryashov가 개발했으며 개발은 깃허브를 통해 이루어지고 있다.
목적
Behat은 소프트웨어 개발 프로세스 가운데에서 개발자, 고객, 기타 주주들 간의 대화를 돕기 위해 설계되었다. 소프트웨어의 의도한 동작의 테스트 가능한 예제의 분명한 문서화를 허용한다. Behat 테스트 시나리오는 정의된 패턴에 따른 비즈니스적인 도메인 특화 언어인 Gherkin[2]로 개발되었다.
예제
"Given" 뒤의 전제 조건은 실행할 PHP 메서드 이름과 일치한다:
Feature: Function to test description
Free text
Scenario: Scenario 1
Given preconditions
When actions
Then results
Scenario: Scenario 2
...
각주
- ↑ 가 나 “Behat/CHANGELOG.md at master · Behat/Behat”. 《github.com》. 2021년 3월 27일에 확인함.
- ↑ https://github.com/cucumber/cucumber/wiki/Gherkin
외부 링크
- Behat
- 공식 웹사이트
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
