Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania
-
Upload
adam-przybyla -
Category
Technology
-
view
66 -
download
0
Transcript of Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania
![Page 1: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/1.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-41 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Koniec testowania na sposób “ testerski” . Zmiana paradygmatu testowania oprogramowania
• Adam PrzybyałWrotQA – Wrocaw 2015ł
![Page 2: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/2.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-42 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Tautologia – (masło maślane), a może jednak nie?
(5.4733)
![Page 3: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/3.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-43 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Małe firmy – mało własnego kodu, dużo zapożyczeń, dużo Open Source
![Page 4: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/4.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-44 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
100% Open Source – fail!!!
![Page 5: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/5.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-45 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Duża firma – dużo własnego kodu, duże rozwiązania, Open Source?
![Page 6: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/6.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-46 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Open Source – sztuka znalezienia balansu między tym co udostępniasz, a tym co nie
udostępniasz
![Page 7: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/7.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-47 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Z każdą linijką kodu udostępnioną na Githubie ginie jeden tester?
![Page 8: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/8.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-48 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Nowe podejście? Falsyfikacja testów? Testowanie wiedzy?
![Page 9: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/9.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-49 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
#!/usr/bin/pythonimport unittestimport antlr3from CSVLexer import CSVLexerfrom CSVParser import CSVParserclass test_csv(unittest.TestCase): def setUp(self):
pass
def test_test(self): self.assertTrue(True)
def test_lf(self): parser=parserek("\n") wynik=parser.line() self.assertFalse(wynik)
def test_crlf(self): parser=parserek("\r\n") wynik=parser.line() self.assertFalse(wynik)
#@unittest.skip("omijam test") def test_red(self): parser=parserek("red") wynik=parser.pole() self.assertEqual(wynik,"red")
![Page 10: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/10.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-410 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
grammar CSV;Options { language=Python; }@header {def test1(s): print "test"}line returns [wynik]scope { wynik2 }@init { wynik =[]; $line::wynik2=[]; }: ( (NEWLINE) => NEWLINE | ( p1=pole {wynik.append(p1) } ( COMMA p1=pole {wynik.append(p1) } )* NEWLINE ) ) { wynik=$line::wynik2}; COMMA : ( ' '* ',' ' '*) ; pole returns [wynik1]@init {wynik1=""try: wyn=$line::wynik2except IndexError: wyn=[]}
: ( p=ZNAWIASEM { wynik1 = $p.text;}| p=BEZNAWIASU { wynik1 = $p.text;}| //nic) {wyn.append(wynik1)};
NEWLINE : '\r'? '\n';
ZNAWIASEM : ('"' ( options {greedy=false;}: . )+ '"')+ {txt = self.getText().strip('"').replace('""','"');self.setText(txt)};
![Page 11: Koniec testowania na sposób “testerski”. Zmiana paradygmatu testowania oprogramowania](https://reader035.fdocuments.net/reader035/viewer/2022071816/55aa2e8e1a28ab56598b45cc/html5/thumbnails/11.jpg)
To change the document information in the footer, press [Alt + F8] and use the “FORM“
15-5-411 © Nokia 2014 - File Name - Version - Creator - DocIDConfidential
Pytania?