Spring Boot 1.4 Test Improve
2016-11-20 00:00
260 查看
摘要: user story 和 bdd 结合的一个example (用于演讲骨架,并未做过多说明)
spy
why use bdd?(BDD + DDD) 用户故事图谱与领域驱动设计的结合应用
Testing improvements in Spring Boot 1.4
Unit Test(use junit and mockito)
mockspy
BDD (Behavior-driven development)
what is bdd? introducing-bddwhy use bdd?(BDD + DDD) 用户故事图谱与领域驱动设计的结合应用
UserStory
Title: As a product owner, I would like to get an web based email program by which I can compose email on-line and can send email. scenario: 1. Given that a web based email module has been developed And I am accessing it with proper authentication When I shall write sender email address in To field Or write sender email address in CC filed by not keeping empty the To field Or write sender email address in BCC field by not keeping empty either To field And keeping the subject field non empty And write something in body text area which excepts rich text And press or click send button Then my email will be sent And the event will be logged in log file. 2. Given that a web based email module has been developed And I am accessing it with bad authentication Then whe website return 401 error code
相关文章推荐
- Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test java.lang.IllegalStateException
- Spring Boot 1.4测试的简单理解
- spring boot test
- spring-boot 1.4单元测试及1.3配置的区别
- SpringBoot(Test)
- SpringbootControllerTest
- Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(
- Spring Boot 单元测试之 @WebIntegrationTest
- springboot1.4取消spring.datasource.type
- SpringBoot Test集成测试
- Spring Boot 1.4 使用log4j错误
- 解决metrics-spring与springboot1.4不兼容问题
- spring boot test中mockito的运用
- spring boot 1.4默认使用 hibernate validator
- Spring Boot1.4版本后@ConfigurationProperties注解舍弃location参数后的解决方式
- springboot升级从1.3到1.4
- 83. Spring Boot 1.4单元测试【从零开始学Spring Boot】
- Spring boot test
- JSONAssert & Spring Boot Test
- Spring boot 学习笔记(04)—— 多环境配置(dev,test,pro)