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

TDD Spider Solitaire
How to deal with those TDD breaking people? [closed]
How to create a mock object based on an interface and set a read-only property?
Exercises to enforce good practices such as TDD and Mocking
What are some reasons why a sole developer should use TDD?
Database integration tests
Pseudocode Programming Process vs. Test Driven Development
Can TDD Work in a Architect/Implementer Environment? [closed]
Adversarial/Naive Pairing with TDD: How effective is it?
Single most important thing to impart when teaching TDD [closed]
What happened to NUnit?
Developers are dissatisfied with TDD. Is TDD really the problem, or is it a lack of skill of novice practicitioners?
Application Testing
How to shift your paradigm to test-driven development
How do I tell MSTEST to run all test projects in a Solution?
Research on TDD

Categories

HOME
ionic-framework
variables
coq
keycloak
fluentd
drivers
tinymce
onedrive
adb
microservices
dxl
ip
ezpublish
azure-media-services
django-imagekit
amazon-cloudformation
floating-action-button
u-sql
modelica
export-to-csv
resize
google-apps-marketplace
php-7.1
apache-cayenne
event-handling
designer
highlight.js
fatal-error
reactcsstransitiongroup
normalizr
swiftlint
zapier
kryo
visjs
paging
physics-engine
cloudhub
qhull
apache-commons-io
intel-pin
phpfox
tooltipster
fopen
neo4j-spatial
msys2
libuv
preg-match
airconsole
catch-all
mpmediaquery
devextreme
dosbox
trim
sfdc
modelmapper
node-sass
slick-3.0
fault
jlink
jxcore
sqlclient
windows-iot-core-10
qtwebview
pdfclown
spring-mongodb
query-performance
multi-level
mathematica-frontend
ptrace
cloudbees
tcpserver
wso2cloud
msys
thredds
twirl
nsmutabledictionary
xc16
gulp-less
preferences
php-5.4
aapt
mysql-error-1062
xceed-datagrid
kgdb
didselectrowatindexpath
viadeo
mysqltuner
ms-project-server-2010
google-cloud-save
dbconnection
file-locking
cos
gwt-rpc
enterprisedb
trusted
onsubmit
postgresql-performance
assembly-loading
vdsp
gcj
celltable
iphone-web-app
xfbml
lang
.nettiers
gin
sef
scripting-languages

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App