Skip to content

Commit

Permalink
- Adding some basic perf test cases.
Browse files Browse the repository at this point in the history
--HG--
branch : dev
  • Loading branch information
Suha Can authored and Suha Can committed May 13, 2010
1 parent e876cf8 commit cbdadf1
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Orchard.Profile/Tests/HttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Net;
using System.Text;
using System.Web;
using NUnit.Framework;
using TechTalk.SpecFlow;

namespace Orchard.Profile.Tests {
Expand Down
12 changes: 12 additions & 0 deletions src/Orchard.Profile/Tests/Profiling.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@
Scenario: Dashboard
Given I am logged in
When I go to "/admin" 40 times

Scenario: Hitting blogs
Given I am logged in
When I go to "/blog0" 10 times
When I go to "/blog1" 10 times
When I go to "/blog2" 10 times
When I go to "/blog3" 10 times
When I go to "/blog4" 10 times

Scenario: Hitting home page
Given I am logged in
When I go to "/" 40 times
40 changes: 39 additions & 1 deletion src/Orchard.Profile/Tests/Profiling.feature.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbdadf1

Please sign in to comment.