tdd


Can you implement TDD in Pega?


As the title says, we use Pega extensively, and was wondering, whether it is possible to implement TDD in the same fashion as .NET or Java.
It depends on version of Pega platform you are using.
Prior to Pega 7.2.2 test cases used to be created through running a Rule and recording Clipboard state before and after Rule run. Initial state recorded was used to setup environment for every test case run, final state recorded was assumed as expected reference state to get after each run. There was no convenient way to configure this.
As so, it was impossible to implement TDD using built-in Pega test case capabilities, because you had to implement your rule completely before creating a test case for it.
In Pega 7.2.2 you can manage the way environment is set up for a test case run and assertions made. But be aware that Pega test cases still lack rule dependency isolation, thus you cannot test a Rule in isolation.
We are using Pega extensively as well, so given aforementioned restrictions we decided to create our own testing framework for Pega.
The problem of unit testing Pega applications I've described in more details in the following article.
https://www.linkedin.com/pulse/gaining-confidence-comprehensive-continuous-pega-7-unit-lutay
There is one framework developed by Pega for testing pupose
Test Management Framework (TMF).
There is one link available on PDN which shows how to Auto-Generate Test Cases.

Related Links

Am I allowed to check in a failing test
How to TDD for CouchDB with CouchApp?
How can I test an interface without implementing it first?
Run a single test in Flash Builder?
Discussion: Working TDD in a Scrum context
When applying TDD, what heuristics do you use to select which test to write next?
Unit testing: is “good enough” good enough?
Implementing User Stories the Agile Way
Should I only be testing public interfaces in BDD? (in general, and specifically in Ruby)
TDD assumes interfaces are defined already; how to cope?
RhinoMock : Mocks Vs StrictMocks Vs DynamicMocks
Ideas on how to TDD application that needs to retrieve user name from system environment
ATDD versus BDD and the proper use of a framework
Bizmonade - testing orchestration that receives ANY document
Selenium vs Celerity? [closed]
TDD and Code Coverage

Categories

HOME
jdo
deployment
openmp
amazon-ec2
fluentd
rubygems
fsm
umd
upload
add
adfs
iggrid
here-api
wheelnav.js
row
correlation
windows-server-2012
transformation
jsdoc
oracle-coherence
emulator
plunker
opencover
csrf-protection
kvc
cultureinfo
format-specifiers
restful-authentication
claims-based-identity
vlsi
phpfox
typo3-6.2.x
kendo-datasource
tasklet
instant-messaging
react-chartjs
http-status-code-503
google-sites-2016
scorm2004
copying
commit
google-api-nodejs-client
jmonkeyengine
x11-forwarding
abstract-class
jna
webdriver-manager
elasticsearch-plugin
android-mediaprojection
isbn
mime
gpx
acoustics
slick-3.0
smartcontracts
filepicker
revapi
multipeer-connectivity
sybase-asa
python-cryptography
specrun
google-cdn
watchconnectivity
word-vba-mac
abcpdf9
thrust
impresspages
yaws
xpath-1.0
hsv
metaclass
django-unittest
libressl
wyam
mono-embedding
sortedlist
remobjects
e10s
system.reflection
fscommand
network-interface
xcode-6.2
code-access-security
system.net.webexception
transcoding
dir
web2py-modules
padarn
mqx
first-responder
wse3.0
removeclass
heartbeat
genshi
joyent
netbeans-7.1
celltable
android-sdk-2.1
sql-server-profiler
iphone-web-app
html-input
visitor-statistic
blitz++
ncqrs
photoshop-cs4
swing-app-framework
boost-smart-ptr
phonon
procedural-music
lzh

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App