<< Chapter < Page
  Software engineering     Page 10 / 15
Chapter >> Page >

Based on the software engineer’s intuition and experience

Ad hoc testing

Perhaps the most widely practiced technique remains ad hoc testing: tests are derived relying on the software engineer’s skill, intuition, and experience with similar programs. Ad hoc testing might be useful for identifying special tests, those not easily captured by formalized techniques.

Exploratory testing

Exploratory testing is defined as simultaneous learning, test design, and test execution; that is, the tests are not defined in advance in an established test plan, but are dynamically designed, executed, and modified. The effectiveness of exploratory testing relies on the software engineer’s knowledge, which can be derived from various sources: observed product behavior during testing, familiarity with the application, the platform, the failure process, the type of possible faults and failures, the risk associated with a particular product, and so on.

Specification-based techniques

Equivalence partitioning

The input domain is subdivided into a collection of subsets, or equivalent classes, which are deemed equivalent according to a specified relation, and a representative set of tests (sometimes only one) is taken from each class.

Boundary-value analysis

Test cases are chosen on and near the boundaries of the input domain of variables, with the underlying rationale that many faults tend to concentrate near the extreme values of inputs. An extension of this technique is robustness testing, wherein test cases are also chosen outside the input domain of variables, to test program robustness to unexpected or erroneous inputs.

Decision table

Decision tables represent logical relationships between conditions (roughly, inputs) and actions (roughly, outputs). Test cases are systematically derived by considering every possible combination of conditions and actions. A related technique is cause-effect graphing.

Finite-state machine-based

By modeling a program as a finite state machine, tests can be selected in order to cover states and transitions on it.

Testing from formal specifications

Giving the specifications in a formal language allows for automatic derivation of functional test cases, and, at the same time, provides a reference output, an oracle, for checking test results. Methods exist for deriving test cases from model-based or algebraic specifications.

Random testing

Tests are generated purely at random, not to be confused with statistical testing from the operational profile. This form of testing falls under the heading of the specification-based entry, since at least the input domain must be known, to be able to pick random points within it.

Code-based techniques

Control-flow-based criteria

Control-flow-based coverage criteria is aimed at covering all the statements or blocks of statements in a program, or specified combinations of them. Several coverage criteria have been proposed, like condition/decision coverage. The strongest of the control-flow-based criteria is path testing, which aims to execute all entry-to-exit control flow paths in the flowgraph. Since path testing is generally not feasible because of loops, other less stringent criteria tend to be used in practice, such as statement testing, branch testing, and condition/decision testing. The adequacy of such tests is measured in percentages; for example, when all branches have been executed at least once by the tests, 100% branch coverage is said to have been achieved.

Questions & Answers

How do we create a software
Florence Reply
give a more direct question
Louis Reply
what r the computer codes
Kawuba Reply
what is software
Manobendra Reply
how can I create a software
Mary Reply
how to trubulshoot is configuration ?
priya Reply
hello
Julius
hello
abeer
explain coco model
dawood Reply
What is a client engineer
buthayna Reply
A Customer Engineer (CE) is a worker whose primary job scope is to provide a service to customers who have signed a contract with the company.
Fokuo
Thank you
buthayna
Hi
ahly
hello,how are you doing?
Fokuo
nothing
Hemant
it's a pleasure meeting you.
Fokuo
tq
Hemant
Nice to meet you too
Hemant
good night
Hemant
hi in here
Asongafac
hello
Eric
please I want to more about this group
Asongafac
pravinkumar
pravin
hello
pravin
I want to create software
Michael
how can i ave install usb drive but get it not connecting phone
Micheal Reply
hmm
abang
may be it has a problem
abang
maybe u should change usb drive
gabriel
what is 404 error
Hemant Reply
tell me answers
Hemant
different cmmi level
Sahil Reply
Please I need a teacher
shittu
wht teacher u need?
HANAN
hi
RITESH
is software
RITESH
hello
sarbajeet
good morning all
Hemant
heyy
Ultimate
hi hi
HANAN
hehahahahahha
amjad
what is cmmi
Mulukutla Reply
what are the benefits of been a software engineer
Amissah
hi
Sunday
gud morning oo
Sunday
kk
Sunday
the benefits are life changing
Louis
can have your own ai
Louis
an ai system
Louis
is studying software engineer needs to be math expertise?
Carmela
depends on what your doing
Louis
grasp the whole field by being a problem solver
Louis
mathematics is the language of computing
Louis
but also its the language of the universe
Louis
before you start typing code please plan on pen and paper first with a goal in mind.
Louis
Thank you !!
Carmela
Are you a software engineer already?
Carmela
mathematics is not compulsory for coding
Nadday
just needed basic Nexus calculations
Nadday
what programming language ?
Louis
@Carnela Villegas : Your welcome
Louis
engineering in process student of software engineering
Nadday
@Naddy Naddy: What programming language are you using if i may ask ?
Louis
couple of languages are there not bounded specifically to single one
Nadday
python, Java, Java script, php, swift, go, c# and many more are trending in
Nadday
Java is now superseding his popularity but still the one of the most used coding language
Nadday
I want to be a software engineer too ...
Carmela
best of luck
Nadday
python is now
Louis
python is used by nasa and for data science aswell for live coding and hacking
Louis
it is the fastest growing language to date
Louis
but being efficient at math is a general stand point if your not language specific
Louis
but c++ can't be beat
Louis
especially with the new c++20 coming
Louis
swift for apple
Louis
swift is made by c code
Louis
c++ is > c
Louis
yes pathon is invented in 1991 by guido van rusom it's popular now a days but it's literally used now as much a Java and Java script php but still most popular python
Nadday
c made java
Louis
java is still convenient though
Louis
c made by bell laboratories one of the basic coding languages
Nadday
windows also used it
Nadday
it just depends on what goal you have in mind to you have in mind to use programming language as a conversion
Louis
mathematics > any programming language
Louis
😊
Louis
sorry I've accidentally placed a question mark lol
Louis
😂
Louis
sorry I couldn't get your point
Nadday
no i was saying my device placed 2 question marks accidentally
Louis
but your very intelligent aswell my friend where do you stay if i may ask @Naddy Naddy ?
Louis
I am from Pakistan
Nadday
awesome im from united states my friend nice to meet you lol
Louis
thank you same here
Nadday
😇
Louis
I am doing coding for the elimination of the cyber crimes and strengthen the cyber security
Nadday
Thats awesome im a defcon spy
Louis
white hat
Louis
im a good guy 😊
Louis
nice to hear
Nadday
coding phenomena practice practice and practice
Nadday
yeah same
Louis
thanks. good to know - ' practice practice and practice!'
oh yeah guys alien being exist other than us
Louis
👽
Louis
I like to be software engineer
Toheeb
what is the leading programming language in the world?
HANAN
I have mentioned the names above
Nadday
@HANAN
Louis
ahh ok i will check @Nadday Nadday
HANAN
java ri8 🤞 @Nadday Nadday
HANAN
yes Java is also but not we could limitize the premises
Nadday
there are many others also
Nadday
i mean i ask the best top 1 ..which language is that @Nadday Nadday
HANAN
@HANAN THE PROGRAMMER IS THE LEADING PROGRAMMING LANGUAGE OF THE WORLD IG YOU KNOW WHAT I MEAN
Louis
@HANAN whatever language your most comfortable with
Louis
ohhh thank u @Louis johnson
HANAN
i love to be a software engineer but i dont know how to learn😔
HANAN
go for formal education
Nadday
now i m doing Advance level + HND in Computing and System Develipment... this time i have to finish my assignment but still i didn't finish ... i like to be a software engineer ....but i don't know how to
HANAN
your previous education level @hanan?
Nadday
@HANAN as an advanced human just build your own learning strategy in which is the best way anyway through trial and error or books self learn teach output to others who are willing to learn from ground up from the organization you've built and spread
Louis
@louis johnson ok i will try😊👍...anyway thank u soo much guys @Nadday and @louis
HANAN
@HANAN any errors that need to be fixed just fix along the way in future from your atomic learning process
Louis
learn the difference in micro and macro put it to use as a handle in real reality objective analysis
Louis
thank u soo much bro @louis ...are u a software engineer?
HANAN
your major sujects in hnd
Nadday
I'm a Human lol
Louis
make your basic concepts through c and C ++
Nadday
but yes im a core engineer
Louis
you can say Engineering scientist
Louis
it is the sole centre and Nexus of coding
Nadday
hi
Md
heyy
Ultimate
hi guys
mubarek
hi
Louis
how to start making a software?
Jerry Reply
books or teacher
Louis
both of
Hemant
both
ben
i prefer books and a reference teacher on side im self taught self learn everything
Louis
time is your best friend
Louis
I want learn more as well
Ogunrinde
well honestly it would be too large to explain everything in chat but, pick the programming language of choice your most comfortable with, learn that language, make it yours, use it as a primary language to learn in parallel any other language of object oriented programming,
Louis
also it wouldn't hurt to have a basic background in math
Louis
but be a scientist behind the machine(Computer)
Louis
have math be your way of translation of human to computer interaction because you can solve any problem in the universe with mathematics
Louis
good to know discrete topics embedded systems, electrical engineering
Louis
doesn't hurt to have a buddy to team up on project while your asleep to keep progressing
Louis
(Important!..) have real data to work on, the reason is because there have to be some goal to be achieved at some point.
Louis
Be alittle greedy to learn any and all about any language you use.
Louis
Another important thing is not to rush through learning
Louis
once you learn a concept try teaching the concept to someone else who is as interested as you are, that way. the concept will be stuck concretely in your mind.
Louis
slow but sure please guys.education is not like food.
Emmanuel
if you like graphics and games you can use a language that have graphics libraries such as C++, Python, or Java as an example
Louis
who can tell Why software is more important in computer science
Emmanuel
don't just learn alittle want the whole thing and want to know everything at your finger tips
Louis
grasp
Louis
because the hardware and software is useful depends on how useful your goal is
Louis
graphics is not about database management system.c++ is about programming.
Emmanuel
be an android who's drug is "addicted to information" related to the field.
Louis
and in need of the most complex algorithm update
Louis
learn console applications
Louis
how does your languge relate to databases
Louis
and web programming
Louis
i know just throwing some things your way to open mind
Louis
im certi at c++
Louis
it is a general programming language used to build many infrastructure
Louis
including database web and many other soft ware frameworks
Louis
excellent
Ogunrinde
Thanks
Louis
Suppose we are faced with developing a system that we expect to have 100000LOC. Compute the effort and the effort development time for each of the three development modes i.e. Organic, semi - detached and embedded .
yukta Reply
c++ or python or java
Louis
Discuss multi threading as used in windows, Linux and Unix
James Reply

Get the best Software engineering course in your pocket!





Source:  OpenStax, Software engineering. OpenStax CNX. Jul 29, 2009 Download for free at http://cnx.org/content/col10790/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software engineering' conversation and receive update notifications?

Ask