Upgrade to Pro — share decks privately, control downloads, hide ads and more …

E2Eテストの独立性

 E2Eテストの独立性

18b12f8f7910445b2637f0f21f59d467?s=128

Kazuhito Hokamura

January 27, 2015
Tweet

Transcript

  1. E2Eςετͷಠཱੑ #template_literal_sushi #e2e_sushi

  2. ςετγφϦΦ 1. ϩάΠϯͯ͠ 2. ৽نσʔλϙετͯ͠ 3. ฤूͯ͠ 4. ࡟আ͢Δ

  3. before(function() { init();
 }); describe('ϩάΠϯ', () => {}); describe('௥Ճ', ()

    => {}); describe('ฤू', () => {}); describe('࡟আ', () => {});
  4. ࡟আ΍ฤूͷςετ͕લͷ ςετέʔεʹґଘͯ͠Δ

  5. beforeEach(() => { init();
 }); describe('ϩάΠϯ' () => {}); describe('௥Ճ',

    () => { beforeEach(() => { login(); }); }); describe('ฤू', () => { beforeEach(() => { login(); createData(); }); }); describe('࡟আ', () => { beforeEach(() => { login(); createData(); }); }); ಠཱԽͤ͞Δ
  6. Unit TestͱҧͬͯॳظԽ ίετ͕͔͔Δ

  7. before(function() { init();
 }); describe('ϩάΠϯ', () => {}); describe('௥Ճ', ()

    => {}); describe('ฤू', () => {}); describe('࡟আ', () => {}); ͜Ε͙Β͍͕ͪΐ͏Ͳ͍͍ʁ
  8. σʔλॳظԽίετͱͷ όϥϯεʹΑΔͱࢥ͏

  9. ΈΜͳͲ͏ͯ͠Δ͔ ڭ͍͑ͯͩ͘͞