Jest Integration TestͱE2EͱϚχϡΞϧςετͷͲΕͰ୲
อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- E2
E
- ϚχϡΞϧςετ
Slide 30
Slide 30 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- First Fetch(ϖʔδͷॳճදࣔ)Ͱ݁͢ΔͷJest Integration Tes
t
- ύλʔϯ͕ෳ͋Δ߹ɺϋοϐʔύεΛE2EͰߦ͍ɺΓͷόϦΤʔγϣϯJest
Ͱ୲อ͢Δ
- Ϣʔβʔૢ࡞͕͏͕ɺRequest͕ൃੜ͠ͳ͍ͷJest Integration Tes
t
- όϦσʔγϣϯϘλϯͷDisabledଐੑ
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL)
- E2
E
- ϚχϡΞϧςετ
Slide 31
Slide 31 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- First Fetch(ϖʔδͷॳճදࣔ)Ͱ݁͢ΔͷJest Integration Tes
t
- ύλʔϯ͕ෳ͋Δ߹ɺϋοϐʔύεΛE2EͰߦ͍ɺΓͷόϦΤʔγϣϯJest
Ͱ୲อ͢Δ
- Ϣʔβʔૢ࡞͕͏͕ɺRequest͕ൃੜ͠ͳ͍ͷJest Integration Tes
t
- όϦσʔγϣϯϘλϯͷDisabledଐੑ
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- E2
E
- ϚχϡΞϧςετ
Slide 32
Slide 32 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- First Fetch(ϖʔδͷॳճදࣔ)Ͱ݁͢ΔͷJest Integration Tes
t
- ύλʔϯ͕ෳ͋Δ߹ɺϋοϐʔύεΛE2EͰߦ͍ɺΓͷόϦΤʔγϣϯJest
Ͱ୲อ͢Δ
- Ϣʔβʔૢ࡞͕͏͕ɺRequest͕ൃੜ͠ͳ͍ͷJest Integration Tes
t
- όϦσʔγϣϯϘλϯͷDisabledଐੑ
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- E2
E
- ϚχϡΞϧςετ
Slide 33
Slide 33 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- First Fetch(ϖʔδͷॳճදࣔ)Ͱ݁͢ΔͷJest Integration Tes
t
Slide 34
Slide 34 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Ϣʔβʔૢ࡞͕͏͕ɺRequest͕ൃੜ͠ͳ͍ͷJest Integration Tes
t
Slide 35
Slide 35 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- 400ܥ
- E2EͰग़དྷͳ͍ͷ(ΠϨΪϡϥʔ͕ଟ͍ͷͰյΕͳ͍͜ͱͷ֬ೝ
)
- APIΛୟ͍ͨ࣌ͷRequest BodyͳͲͷΞαʔγϣϯ
- ϦϑΝΫλϦϯά͢ΔͷͰ͋Ε͋ͬͨํ͕҆৺
- E2
E
- ϚχϡΞϧςετ
Slide 36
Slide 36 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- 400ܥ
- E2EͰग़དྷͳ͍ͷ(ΠϨΪϡϥʔ͕ଟ͍ͷͰյΕͳ͍͜ͱͷ֬ೝ
)
- APIΛୟ͍ͨ࣌ͷRequest BodyͳͲͷΞαʔγϣϯ
- ϦϑΝΫλϦϯά͢ΔͷͰ͋Ε͋ͬͨํ͕҆৺
- E2
E
- ϚχϡΞϧςετ
Slide 37
Slide 37 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- 400ܥ
- E2EͰग़དྷͳ͍ͷ(ΠϨΪϡϥʔ͕ଟ͍ͷͰյΕͳ͍͜ͱͷ֬ೝ
)
- APIΛୟ͍ͨ࣌ͷRequest BodyͳͲͷΞαʔγϣϯ
- ϦϑΝΫλϦϯά͢ΔͷͰ͋Ε͋ͬͨํ͕҆৺
- E2
E
- ϚχϡΞϧςετ
Slide 38
Slide 38 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- 400ܥ
Slide 39
Slide 39 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- APIΛୟ͍ͨ࣌ͷRequest BodyQuery ParameterͳͲͷΞαʔγϣϯ
Slide 40
Slide 40 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- E2
E
- ਖ਼ৗܥ
- Mutationܥ(Post, Patch, Delete
)
- ੍ޚܥ(ݖݶೝূͳͲ
)
- ϚχϡΞϧςετ
Slide 41
Slide 41 text
+FTU*OUFHSBUJPO5FTUͱ&&ͱϚχϡΞϧςετͷͲΕͰ୲อ͢Δ͔ϧʔϧΛ໌֬ʹ͢Δ
- Jest Integration Test Ͱͬͨํ͕͍͍ςετ(RECOMMEND
)
- Jest Integration Test Ͱ͋Δͱخ͍͠ςετ(OPTIONAL
)
- E2
E
- ϚχϡΞϧςετ
- Ұ෦ਖ਼ৗܥͱɺσβΠϯपΓ
- ΠϨΪϡϥʔܥ(ෳλϒ)όοΫάϥϯυॲཧͷ݁ՌͳͲ