This repository was archived by the owner on Jan 29, 2022. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
212 lines (188 loc) · 9.72 KB
/
Copy pathindex.html
File metadata and controls
212 lines (188 loc) · 9.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>XrmMockup - A Dynamics 365 Testing Framework</title>
<link rel="icon" type="image/png" href="img/favicon.png"/>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<!-- Plugin CSS -->
<link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/freelancer.min.css" rel="stylesheet">
<link href="node_modules/prismjs/themes/prism-okaidia.css" rel="stylesheet">
</head>
<body id="page-top">
<!-- Navigation -->
<nav class="navbar navbar-expand-lg fixed-top text-uppercase" id="mainNav">
<div class="container-fluid">
<div class="row flex-full">
<button class="navbar-toggler navbar-toggler-right text-uppercase bg-primary text-white rounded" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fa fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<div class="row flex-full">
<div class="col-md-12 text-center">
<ul class="navbar-nav ">
<li class="nav-item">
<a class="nav-link py-3 px-0 px-lg-3 rounded js-scroll-trigger" href="#benefits">Benefits</a>
</li>
<li class="nav-item">
<a class="nav-link py-3 px-0 px-lg-3 rounded js-scroll-trigger" href="#examples">Examples</a>
</li>
<li class="nav-item">
<a class="nav-link py-3 px-0 px-lg-3 rounded js-scroll-trigger" href="#get">Get started</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<nav class="navbar navbar-expand-lg bg-secondary fixed-top" id="logoNav">
<div class="container-fluid">
<div class="row" id="logo">
<div class="col-md-12">
<a class="navbar-brand js-scroll-trigger" href="#page-top"><div id="header-logo"></div></a>
</div>
<a href="https://github.com/delegateas/XrmMockup/" target="_blank">
<img src="img/fork-on-github.png" alt="Fork me on GitHub" id="fork-on-github">
</a>
</div>
</div>
</nav>
<!-- Header -->
<section id="benefits">
<header class="masthead bg-white text-tertiary">
<div class="container">
<div class="row">
<div class="col-md-4">
<img class="img-fluid mb-5 " src="img/mockup-box.png" alt="XrmMockup">
</div>
<div class="col-md-8" id="intro-text">
<div class="row">
<div class="col-md-10">
<h3 class="mb-0"><span class="span-primary">XrmMockup:</span> An out-of-the-box Dynamics 365 <span class="span-primary">testing framework</span></h3>
</div>
<div class="col-md-2">
<a href="https://en.wikipedia.org/wiki/MIT_License" target="_blank"><img src="img/mit-license.png" alt="" class="mit-license"></a>
</div>
</div>
<p>XrmMockup is a tool for mocking your own MS Dynamics CRM instance. Instead of testing against specific parts of your code, thus requiring you to define how behavior is mocked, XrmMockup acts like a complete CRM system, which you send commands to. This enables you to test and debug the functionality of your CRM system, with all your plugins and workflows automatically running inside your test.</p>
<a class="btn btn-primary btn-lg float-right" href="https://github.com/delegateas/XrmMockup/wiki/Setup" target="_blank">Get it now!</a>
</div>
</div>
</div>
</header>
</section>
<!-- Portfolio Grid Section -->
<section class="portfolio bg-tertiary" id="examples">
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<h3 class="text-secondary mb-0">Why use XrmMockup?</h3><br>
<div class="row">
<p class="text-secondary">XrmMockup makes it easy to test your business logic. XrmMockup provides you with an IOrganizationServie that you can use, just like you would use it with a real CRM instance!</p>
<p class="text-secondary">Just like the real CRM instance it will execute your business logic, but XrmMockup does this locally.</p>
<p class="text-secondary">In the following example, the <b>orgAdminService</b> is provided by XrmMockup, the rest is your code. This example uses the typings generated by XrmContext</p>
</div>
<div class="row mb-2">
<!-- <img src="img/test-mockup.png" alt=""> -->
<pre><code class="language-csharp">
[TestMethod]
public void TestCreateSimple() {
var contact = new Contact() {
FirstName = "John"
};
contact.Id = orgAdminService.Create(contact);
var dbContact = Contact.Retrieve(orgAdminService, contact.Id);
Assert.AreEqual(contact.FirstName, dbContact.FirstName);
Assert.AreEqual("NoLastName", dbContact.LastName);
}
</code></pre>
</div>
<div class="row">
<p class="text-secondary">XrmMockup executes your code! This means your plugin code is executed directly, such that you can set breakpoints and debug your businesslogic</p>
<p class="text-secondary">XrmMockup fetches your customizations and business process' directly from your CRM instance. Thus you can test your workflows and actions as well!</p>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section class="bg-secondary text-tertiary mb-0" id="get">
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<h3 class="text-center text-uppercase text-tertiary">Get started testing your code!</h3>
</div>
</div>
<div class="row">
<div class="col-md-6 mx-auto">
<img src="img/test.jpg" alt="Test your code" id="testing">
</div>
</div>
<br>
<div class="row">
<div class="col-md-6 mx-auto">
<h4>Install from NuGet</h4>
<p>There is a version of XrmMockup for each major version of Dynamics CRM, where the name is XrmMockup followed by the version, such as "XrmMockup2016". Install the one that matches your instance.<br>
View <a href="https://www.nuget.org/packages?q=Tags%3A%22xrmmockup%22" target="_blank">all releases on NuGet.</a></p>
</div>
</div>
<div class="text-center mt-4">
<a class="btn btn-xl btn-outline-dark" href="https://github.com/delegateas/XrmMockup/wiki/Setup" target="_blank">
<i class="fa fa-list-ol mr-2"></i>
Read the full setup guide!
</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer text-center">
<div class="container">
<div class="row text-tertiary">
<div class="col-md-4 mb-5 mb-lg-0">
<a href="https://github.com/delegateas/XrmMockup/" target="_blank"><img src="img/github.png" alt="XrmMockup on GitHub"></a>
</div>
<div class="col-md-4 mb-5 mb-lg-0">
<a href="https://www.delegate.dk/" target="_blank"><img src="img/powered-by-delegate.png" alt="Powered by Delegate"></a>
</div>
<div class="col-md-4">
<a href="https://en.wikipedia.org/wiki/MIT_License" target="_blank"><img src="img/mit-license-footer.png" alt="The MIT License"></a>
</div>
</div>
</div>
</footer>
<!-- Scroll to Top Button (Only visible on small and extra-small screen sizes) -->
<div class="scroll-to-top d-lg-none position-fixed ">
<a class="js-scroll-trigger d-block text-center text-white rounded" href="#page-top">
<i class="fa fa-chevron-up"></i>
</a>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<script src="vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<!-- Contact Form JavaScript -->
<script src="js/jqBootstrapValidation.js"></script>
<script src="js/contact_me.js"></script>
<!-- Custom scripts for this template -->
<script src="js/freelancer.min.js"></script>
<script type="text/javascript" src="node_modules/prismjs/components/prism-core.min.js"></script>
<script type="text/javascript" src="node_modules/prismjs/components/prism-prism-c.min.js"></script>
<script type="text/javascript" src="node_modules/prismjs/components/prism-clike.min.js"></script>
<script type="text/javascript" src="node_modules/prismjs/components/prism-csharp.min.js"></script>
<script type="text/javascript" src="node_modules/prismjs/components/prism-typescript.min.js"></script>
</body>
</html>