{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/146291"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/146291","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Testing Erlang Concurrency with QuickCheck","abstract":"Erlang is a functional language developed by Ericsson AB, in which concurrency belongs to the programming language rather than the operating system. It can make parallel programing much easier by modeling the program as several processes running in parallel which interact with each other only via exchanging messages. There is no shared memory in Erlang, due to its advantages on message passing, Erlang have been widely used in development of telecom and internet products. As the importance of usage of` Erlang increases, to ensure the progams operate as they should becames the most significant and challenging task. QuickCheck is a specification-based testing tool produced by the company Quivq AB. The commercial version of QuickCheck can support generating random test cases for Erlang programs. It offers the ability for test programmer to test Erlang functions by specifying their expected operations and results. It is a tool that can liberate the test programmers from heavy work of writing test cases by hand, and reduce the time that the test programmers spend on simplifying the failing test cases after the execution of the test cases. In the first part of this thesis, we develop specification of main functions in ETS, DETS, by analyzing their operation and results. Then, we test these functions by using QuickCheck state machine. In the second part, with analyzing the shortage of QuickCheck state machine, we modify the property, and test DETS by using PULSE. Meanwhile, main functions in Supervisor are specified and tested as well. Bugs and interesting findings from this project are described in relevant parts as well.","abstract_html":"Erlang is a functional language developed by Ericsson AB, in which concurrency belongs to the programming language rather than the operating system. It can make parallel programing much easier by modeling the program as several processes running in parallel which interact with each other only via exchanging messages. There is no shared memory in Erlang, due to its advantages on message passing, Erlang have been widely used in development of telecom and internet products. As the importance of usage of` Erlang increases, to ensure the progams operate as they should becames the most significant and challenging task. QuickCheck is a specification-based testing tool produced by the company Quivq AB. The commercial version of QuickCheck can support generating random test cases for Erlang programs. It offers the ability for test programmer to test Erlang functions by specifying their expected operations and results. It is a tool that can liberate the test programmers from heavy work of writing test cases by hand, and reduce the time that the test programmers spend on simplifying the failing test cases after the execution of the test cases. In the first part of this thesis, we develop specification of main functions in ETS, DETS, by analyzing their operation and results. Then, we test these functions by using QuickCheck state machine. In the second part, with analyzing the shortage of QuickCheck state machine, we modify the property, and test DETS by using PULSE. Meanwhile, main functions in Supervisor are specified and tested as well. Bugs and interesting findings from this project are described in relevant parts as well.","abstract_has_math":false,"creators":["Cao, Zichen"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2011,"date_issued":"2011","date_published":"2011","updated_at":"2026-11-19T02:48:02Z","subjects":["Programvaruteknik","Software Engineering"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/146291","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/146291","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F146291","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F146291","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"]},{"key":"dc:creator","label":"Author","values":["Cao, Zichen"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-07-03T12:39:34Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-07-03T12:39:34Z"]},{"key":"dc:date.issued","label":"Date","values":["2011"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen","Master Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Programvaruteknik","Software Engineering"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/146291"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Erlang is a functional language developed by Ericsson AB, in which concurrency belongs to the programming language rather than the operating system. It can make parallel programing much easier by modeling the program as several processes running in parallel which interact with each other only via exchanging messages. There is no shared memory in Erlang, due to its advantages on message passing, Erlang have been widely used in development of telecom and internet products. As the importance of usage of` Erlang increases, to ensure the progams operate as they should becames the most significant and challenging task. QuickCheck is a specification-based testing tool produced by the company Quivq AB. The commercial version of QuickCheck can support generating random test cases for Erlang programs. It offers the ability for test programmer to test Erlang functions by specifying their expected operations and results. It is a tool that can liberate the test programmers from heavy work of writing test cases by hand, and reduce the time that the test programmers spend on simplifying the failing test cases after the execution of the test cases. In the first part of this thesis, we develop specification of main functions in ETS, DETS, by analyzing their operation and results. Then, we test these functions by using QuickCheck state machine. In the second part, with analyzing the shortage of QuickCheck state machine, we modify the property, and test DETS by using PULSE. Meanwhile, main functions in Supervisor are specified and tested as well. Bugs and interesting findings from this project are described in relevant parts as well."]},{"key":"dc:title","label":"Title","values":["Testing Erlang Concurrency with QuickCheck"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"],"dc:creator":["Cao, Zichen"],"dc:date.accessioned":["2019-07-03T12:39:34Z"],"dc:date.available":["2019-07-03T12:39:34Z"],"dc:date.issued":["2011"],"dc:description.abstract":["Erlang is a functional language developed by Ericsson AB, in which concurrency belongs to the programming language rather than the operating system. It can make parallel programing much easier by modeling the program as several processes running in parallel which interact with each other only via exchanging messages. There is no shared memory in Erlang, due to its advantages on message passing, Erlang have been widely used in development of telecom and internet products. As the importance of usage of` Erlang increases, to ensure the progams operate as they should becames the most significant and challenging task. QuickCheck is a specification-based testing tool produced by the company Quivq AB. The commercial version of QuickCheck can support generating random test cases for Erlang programs. It offers the ability for test programmer to test Erlang functions by specifying their expected operations and results. It is a tool that can liberate the test programmers from heavy work of writing test cases by hand, and reduce the time that the test programmers spend on simplifying the failing test cases after the execution of the test cases. In the first part of this thesis, we develop specification of main functions in ETS, DETS, by analyzing their operation and results. Then, we test these functions by using QuickCheck state machine. In the second part, with analyzing the shortage of QuickCheck state machine, we modify the property, and test DETS by using PULSE. Meanwhile, main functions in Supervisor are specified and tested as well. Bugs and interesting findings from this project are described in relevant parts as well."],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/146291"],"dc:language.iso":["eng"],"dc:subject":["Programvaruteknik","Software Engineering"],"dc:subject.uppsok":["Technology"],"dc:title":["Testing Erlang Concurrency with QuickCheck"],"dc:type.degree":["Examensarbete för masterexamen","Master Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T02:48:02Z"}