diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp
new file mode 100644
index 0000000000..34cb468c9e
--- /dev/null
+++ b/tests/controls/webtest.cpp
@@ -0,0 +1,60 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name: tests/controls/webtest.cpp
+// Purpose: wxWebView unit test
+// Author: Steven Lamerton
+// Created: 2011-07-08
+// RCS-ID: $Id$
+// Copyright: (c) 2011 Steven Lamerton
+///////////////////////////////////////////////////////////////////////////////
+
+#include "testprec.h"
+
+#if wxUSE_WEB
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+#endif // WX_PRECOMP
+
+#include "testableframe.h"
+#include "wx/uiaction.h"
+#include "wx/webview.h"
+#include "asserthelper.h"
+
+class WebTestCase : public CppUnit::TestCase
+{
+public:
+ WebTestCase() { }
+
+ void setUp();
+ void tearDown();
+
+private:
+ CPPUNIT_TEST_SUITE( WebTestCase );
+ CPPUNIT_TEST_SUITE_END();
+
+ wxWebView* m_browser;
+
+ DECLARE_NO_COPY_CLASS(WebTestCase)
+};
+
+// register in the unnamed registry so that these tests are run by default
+CPPUNIT_TEST_SUITE_REGISTRATION( WebTestCase );
+
+// also include in its own registry so that these tests can be run alone
+CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WebTestCase, "WebTestCase" );
+
+void WebTestCase::setUp()
+{
+ m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY, "about:blank");
+}
+
+void WebTestCase::tearDown()
+{
+ wxDELETE(m_browser);
+}
+
+#endif //wxUSE_WEB
diff --git a/tests/test.bkl b/tests/test.bkl
index 4087a16b67..80b7eb176c 100644
--- a/tests/test.bkl
+++ b/tests/test.bkl
@@ -179,6 +179,7 @@
controls/treebooktest.cpp
controls/treectrltest.cpp
controls/virtlistctrltest.cpp
+ controls/webtest.cpp
controls/windowtest.cpp
events/clone.cpp
events/propagation.cpp
@@ -208,6 +209,7 @@
window/setsize.cpp
xml/xrctest.cpp
+ web
richtext
media
xrc