(Arya et al., 2017) presented test cases to test state
machine diagrams. For instance, the input of such
test cases comprised only events, the combination of
events and states, and so on (Arya et al., 2017; Hamon
et al., 2005). In addition, such test cases were gen-
erated from state machine diagrams or spreadsheets
(Hamon et al., 2005; Mujjiga and Sukumaran, 2007)
using a tool, e.g. SAL(Symbolic Analysis Labora-
tory)(Moura et al., 2004). Our study aims to propose
a useful method of testing various answer models by
using test cases. As far as we know, there is no study
aiming the automation of testing multiple state ma-
chine models at once.
An environment using a multi-touch interface has
been proposed for aiding collaborative learning of
UML modeling including state modeling (Basheri
et al., 2012; Basheri et al., 2013). A method for cre-
ating state machine diagrams based on an initial class
diagram and texts describing class behavior have been
proposed (Choppy and Reggio, 2009). A method for
assessing a solution activity diagram based on a ref-
erence according to trace information has been pro-
posed (Striewe and Goedicke, 2014). Our study aims
to evaluate many state machine diagrams to efficiently
improve the cost-performance of feedback creation.
Thus, the objective of our approach differs from those
of existing works.
8 CONCLUSION
In this paper, we proposed a preliminary approach to
efficiently test a large number of answer models cre-
ated by learners. In the evaluation, the result showed
that the correctness of the answer models can be pre-
dicted with a high percentage of accuracy, i.e., ap-
proximately 78%. This fact suggests the possibility
that problem detection for a large number of models
can be efficiently performed through sufficient tests in
the future.
Meanwhile, there are several major challenges re-
maining. As future work, we will compare the answer
models with the reference model in detail, to clarify
the cause of differences between the manual evalua-
tion results and testing results. We will also analyze
the process of the fulfillment of the expected results
for each answer model in detail, to explore a method
to predict the errors and these causes. Subsequently,
we will improve the proposed approach based on the
analysis results. Furthermore, we plan to use the ex-
isting MBT methods to create test cases more effi-
ciently and utilize the state machine to abstract simu-
lation logs more efficiently.
ACKNOWLEDGMENT
This work was supported by JSPS KAKENHI Grant
Numbers JP16H03074, and JP16K00094.
REFERENCES
Akayama, S., Kuboaki, S., Hisazumi, K., Futagami, T., and
Kitasuka, T. (2013). Development of a modeling ed-
ucation program for novices using model-driven de-
velopment. In WESE’12, Workshop on Embedded
and Cyber-Physical Systems Education, pages 4:1–
4:8. ACM.
Arya, K., Coelho, B., and Pandya, S. (2017). A model based
design approach to system building using the e-yantra
educational robot. SIGBED Rev., 14(1):37–43.
Bagherzadeh, M., Hili, N., and Dingel, J. (2017). Model-
level, platform-independent debugging in the con-
text of the model-driven development of real-time
systems. In ESEC/FSE’17, 11th Joint Meeting on
Foundations of Software Engineering, pages 419–430.
ACM.
Basheri, M., Burd, L., and Baghaei, N. (2012). In
OzCHI’12, 24th Australian Computer-Human Inter-
action Conference, pages 30–33. ACM.
Basheri, M., Munro, M., Burd, L., and Baghaei, N. (2013).
Collaborative learning skills in multi-touch tables for
uml software design. International Journal of Ad-
vanced Computer Science and Applications, 4(3):60–
66.
Change Vision (2019). Astah. http://astah.net/.
Choppy, C. and Reggio, G. (2009). A method for develop-
ing uml state machines. In SAC’09, ACM Symposium
on Applied Computing, pages 382–388. ACM.
Damjan, P. and Vatanawood, W. (2017). Translating uml
state machine diagram into promela. In IMECS’17, In-
ternational MultiConference of Engineers and Com-
puter Scientists, volume I. IAENG.
Das, N., Ganesan, S., Jweda, L., Bagherzadeh, M., Hili, N.,
and Dingel, J. (2016). Supporting the model-driven
development of real-time embedded systems with run-
time monitoring and animation via highly customiz-
able code generation. In MODELS’16, 19th Interna-
tional Conference on Model Driven Engineering Lan-
guages and Systems, pages 36–43. ACM/IEEE.
David, A., Larsen, K. G., Legay, A., Miku
ˇ
cionis, M., and
Poulsen, D. B. (2015). Uppaal smc tutorial. Inter-
national Journal on Software Tools for Technology
Transfer, 17(4):397–415.
D’souza, S. and Rajkumar, R. R. (2017). Time-based coor-
dination in geo-distributed cyber-physical systems. In
HotCloud’17, 9th USENIX Workshop on Hot Topics
in Cloud Computing. USENIX Association.
Graja, I., Kallel, S., Guermouche, N., Cheikhrouhou, S.,
and Hadj Kacem, A. (2018). A comprehensive sur-
vey on modeling of cyber-physical systems. Con-
currency and Computation: Practice and Experience,
page e4850.
Approach to Testing Many State Machine Models in Education
487