Unit testing extension method adding view location expander Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Unit testing extension for equality testingCalculate the physical centreAre these the right type of unit tests to write?File validation and unit testingUnit Testing in VBAUnit testing a service to return items from a databaseValidation extensions v2Java REST-assured acceptance testsGenerate pieces of an SQL queryUnit testing a generic interface: proposal to avoid test duplication for different generic types

Can a Beast Master ranger change beast companions?

Is it fair for a professor to grade us on the possession of past papers?

Is CEO the "profession" with the most psychopaths?

Amount of permutations on an NxNxN Rubik's Cube

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Semigroups with no morphisms between them

Is there public access to the Meteor Crater in Arizona?

Trademark violation for app?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

How do living politicians protect their readily obtainable signatures from misuse?

What does 丫 mean? 丫是什么意思?

Lagrange four-squares theorem --- deterministic complexity

What order were files/directories output in dir?

How long can equipment go unused before powering up runs the risk of damage?

Intuitive explanation of the rank-nullity theorem

AppleTVs create a chatty alternate WiFi network

Karn the great creator - 'card from outside the game' in sealed

Putting class ranking in CV, but against dept guidelines

How to compare two different files line by line in unix?

Strange behavior of Object.defineProperty() in JavaScript

Drawing spherical mirrors

Google .dev domain strangely redirects to https

How much damage would a cupful of neutron star matter do to the Earth?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?



Unit testing extension method adding view location expander



Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Unit testing extension for equality testingCalculate the physical centreAre these the right type of unit tests to write?File validation and unit testingUnit Testing in VBAUnit testing a service to return items from a databaseValidation extensions v2Java REST-assured acceptance testsGenerate pieces of an SQL queryUnit testing a generic interface: proposal to avoid test duplication for different generic types



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4












$begingroup$


Introduction



I'm writing unit tests for an extension method I wrote. Its only purpose it is to wrap startup logic which extends ViewLocationExpanders list by an instance implementating IViewLocationExpander. ViewLocationExpanders is a property of RazorViewEngineOptions, which can be configured in application startup in ConfigureServices() method. I'm using XUnit 2.4.1.



Usage



Instead of:



services.Configure<RazorViewEngineOptions>(options =>

options.ViewLocationExpanders.Add(new ViewLocationExpander());
);


I can use:



services.AddViewLocationExpander(new ViewLocationExpander());


ViewLocationExpander



public class ViewLocationExpander : IViewLocationExpander

public IEnumerable<string> ExpandViewLocations(
ViewLocationExpanderContext context,
IEnumerable<string> viewLocations)

if (context == null)

throw new ArgumentNullException(nameof(context));


if (viewLocations == null)

throw new ArgumentNullException(nameof(viewLocations));


/*
* Note:
* 0 = action name
* 1 = controller name
* 2 = area name
*/

var newViewLocations = new string[]

// Example: '/Views/Home/_Partials/FooBar.cshtml'
"/Views/1/_Partials/0.cshtml",
;

// Add new locations *AFTER* MVC default locations.
return viewLocations.Union(newViewLocations);


public void PopulateValues(ViewLocationExpanderContext context)

context.Values["customviewlocation"] = nameof(ViewLocationExpander);




Extension method



public static IServiceCollection AddViewLocationExpander(
this IServiceCollection services,
IViewLocationExpander viewLocationExpander)

if (services == null)

throw new ArgumentNullException(nameof(services));


if (viewLocationExpander == null)

throw new ArgumentNullException(nameof(viewLocationExpander));


return services.Configure<RazorViewEngineOptions>(options =>

options.ViewLocationExpanders.Add(viewLocationExpander);
);



Unit tests



[Fact]
public void ExtensionMethodAddsNewViewLocationExpander()

// Arrange
var services = new ServiceCollection();
services.AddMvc();

// These two are required to active the RazorViewEngineOptions.
services.AddSingleton<IHostingEnvironment, HostingEnvironment>();
services.AddSingleton<ILoggerFactory, LoggerFactory>();

// Act
var serviceProvider = services.BuildServiceProvider();
var oldOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;
services.AddViewLocationExpander(new ViewLocationExpander());
serviceProvider = services.BuildServiceProvider();
var newOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;

// Assert
Assert.True(newOptions.ViewLocationExpanders.Count > oldOptions.ViewLocationExpanders.Count);



Questions



  1. Am I going beyond the scope of what unit testing should include? I'm afraid that my code is actually testing the basic functions of generic collections and/or aspects of ASP.NET Core.

  2. If my concern above is true, that should I write unit tests to this at all? How should it work?









share|improve this question









$endgroup$


















    4












    $begingroup$


    Introduction



    I'm writing unit tests for an extension method I wrote. Its only purpose it is to wrap startup logic which extends ViewLocationExpanders list by an instance implementating IViewLocationExpander. ViewLocationExpanders is a property of RazorViewEngineOptions, which can be configured in application startup in ConfigureServices() method. I'm using XUnit 2.4.1.



    Usage



    Instead of:



    services.Configure<RazorViewEngineOptions>(options =>

    options.ViewLocationExpanders.Add(new ViewLocationExpander());
    );


    I can use:



    services.AddViewLocationExpander(new ViewLocationExpander());


    ViewLocationExpander



    public class ViewLocationExpander : IViewLocationExpander

    public IEnumerable<string> ExpandViewLocations(
    ViewLocationExpanderContext context,
    IEnumerable<string> viewLocations)

    if (context == null)

    throw new ArgumentNullException(nameof(context));


    if (viewLocations == null)

    throw new ArgumentNullException(nameof(viewLocations));


    /*
    * Note:
    * 0 = action name
    * 1 = controller name
    * 2 = area name
    */

    var newViewLocations = new string[]

    // Example: '/Views/Home/_Partials/FooBar.cshtml'
    "/Views/1/_Partials/0.cshtml",
    ;

    // Add new locations *AFTER* MVC default locations.
    return viewLocations.Union(newViewLocations);


    public void PopulateValues(ViewLocationExpanderContext context)

    context.Values["customviewlocation"] = nameof(ViewLocationExpander);




    Extension method



    public static IServiceCollection AddViewLocationExpander(
    this IServiceCollection services,
    IViewLocationExpander viewLocationExpander)

    if (services == null)

    throw new ArgumentNullException(nameof(services));


    if (viewLocationExpander == null)

    throw new ArgumentNullException(nameof(viewLocationExpander));


    return services.Configure<RazorViewEngineOptions>(options =>

    options.ViewLocationExpanders.Add(viewLocationExpander);
    );



    Unit tests



    [Fact]
    public void ExtensionMethodAddsNewViewLocationExpander()

    // Arrange
    var services = new ServiceCollection();
    services.AddMvc();

    // These two are required to active the RazorViewEngineOptions.
    services.AddSingleton<IHostingEnvironment, HostingEnvironment>();
    services.AddSingleton<ILoggerFactory, LoggerFactory>();

    // Act
    var serviceProvider = services.BuildServiceProvider();
    var oldOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;
    services.AddViewLocationExpander(new ViewLocationExpander());
    serviceProvider = services.BuildServiceProvider();
    var newOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;

    // Assert
    Assert.True(newOptions.ViewLocationExpanders.Count > oldOptions.ViewLocationExpanders.Count);



    Questions



    1. Am I going beyond the scope of what unit testing should include? I'm afraid that my code is actually testing the basic functions of generic collections and/or aspects of ASP.NET Core.

    2. If my concern above is true, that should I write unit tests to this at all? How should it work?









    share|improve this question









    $endgroup$














      4












      4








      4


      1



      $begingroup$


      Introduction



      I'm writing unit tests for an extension method I wrote. Its only purpose it is to wrap startup logic which extends ViewLocationExpanders list by an instance implementating IViewLocationExpander. ViewLocationExpanders is a property of RazorViewEngineOptions, which can be configured in application startup in ConfigureServices() method. I'm using XUnit 2.4.1.



      Usage



      Instead of:



      services.Configure<RazorViewEngineOptions>(options =>

      options.ViewLocationExpanders.Add(new ViewLocationExpander());
      );


      I can use:



      services.AddViewLocationExpander(new ViewLocationExpander());


      ViewLocationExpander



      public class ViewLocationExpander : IViewLocationExpander

      public IEnumerable<string> ExpandViewLocations(
      ViewLocationExpanderContext context,
      IEnumerable<string> viewLocations)

      if (context == null)

      throw new ArgumentNullException(nameof(context));


      if (viewLocations == null)

      throw new ArgumentNullException(nameof(viewLocations));


      /*
      * Note:
      * 0 = action name
      * 1 = controller name
      * 2 = area name
      */

      var newViewLocations = new string[]

      // Example: '/Views/Home/_Partials/FooBar.cshtml'
      "/Views/1/_Partials/0.cshtml",
      ;

      // Add new locations *AFTER* MVC default locations.
      return viewLocations.Union(newViewLocations);


      public void PopulateValues(ViewLocationExpanderContext context)

      context.Values["customviewlocation"] = nameof(ViewLocationExpander);




      Extension method



      public static IServiceCollection AddViewLocationExpander(
      this IServiceCollection services,
      IViewLocationExpander viewLocationExpander)

      if (services == null)

      throw new ArgumentNullException(nameof(services));


      if (viewLocationExpander == null)

      throw new ArgumentNullException(nameof(viewLocationExpander));


      return services.Configure<RazorViewEngineOptions>(options =>

      options.ViewLocationExpanders.Add(viewLocationExpander);
      );



      Unit tests



      [Fact]
      public void ExtensionMethodAddsNewViewLocationExpander()

      // Arrange
      var services = new ServiceCollection();
      services.AddMvc();

      // These two are required to active the RazorViewEngineOptions.
      services.AddSingleton<IHostingEnvironment, HostingEnvironment>();
      services.AddSingleton<ILoggerFactory, LoggerFactory>();

      // Act
      var serviceProvider = services.BuildServiceProvider();
      var oldOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;
      services.AddViewLocationExpander(new ViewLocationExpander());
      serviceProvider = services.BuildServiceProvider();
      var newOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;

      // Assert
      Assert.True(newOptions.ViewLocationExpanders.Count > oldOptions.ViewLocationExpanders.Count);



      Questions



      1. Am I going beyond the scope of what unit testing should include? I'm afraid that my code is actually testing the basic functions of generic collections and/or aspects of ASP.NET Core.

      2. If my concern above is true, that should I write unit tests to this at all? How should it work?









      share|improve this question









      $endgroup$




      Introduction



      I'm writing unit tests for an extension method I wrote. Its only purpose it is to wrap startup logic which extends ViewLocationExpanders list by an instance implementating IViewLocationExpander. ViewLocationExpanders is a property of RazorViewEngineOptions, which can be configured in application startup in ConfigureServices() method. I'm using XUnit 2.4.1.



      Usage



      Instead of:



      services.Configure<RazorViewEngineOptions>(options =>

      options.ViewLocationExpanders.Add(new ViewLocationExpander());
      );


      I can use:



      services.AddViewLocationExpander(new ViewLocationExpander());


      ViewLocationExpander



      public class ViewLocationExpander : IViewLocationExpander

      public IEnumerable<string> ExpandViewLocations(
      ViewLocationExpanderContext context,
      IEnumerable<string> viewLocations)

      if (context == null)

      throw new ArgumentNullException(nameof(context));


      if (viewLocations == null)

      throw new ArgumentNullException(nameof(viewLocations));


      /*
      * Note:
      * 0 = action name
      * 1 = controller name
      * 2 = area name
      */

      var newViewLocations = new string[]

      // Example: '/Views/Home/_Partials/FooBar.cshtml'
      "/Views/1/_Partials/0.cshtml",
      ;

      // Add new locations *AFTER* MVC default locations.
      return viewLocations.Union(newViewLocations);


      public void PopulateValues(ViewLocationExpanderContext context)

      context.Values["customviewlocation"] = nameof(ViewLocationExpander);




      Extension method



      public static IServiceCollection AddViewLocationExpander(
      this IServiceCollection services,
      IViewLocationExpander viewLocationExpander)

      if (services == null)

      throw new ArgumentNullException(nameof(services));


      if (viewLocationExpander == null)

      throw new ArgumentNullException(nameof(viewLocationExpander));


      return services.Configure<RazorViewEngineOptions>(options =>

      options.ViewLocationExpanders.Add(viewLocationExpander);
      );



      Unit tests



      [Fact]
      public void ExtensionMethodAddsNewViewLocationExpander()

      // Arrange
      var services = new ServiceCollection();
      services.AddMvc();

      // These two are required to active the RazorViewEngineOptions.
      services.AddSingleton<IHostingEnvironment, HostingEnvironment>();
      services.AddSingleton<ILoggerFactory, LoggerFactory>();

      // Act
      var serviceProvider = services.BuildServiceProvider();
      var oldOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;
      services.AddViewLocationExpander(new ViewLocationExpander());
      serviceProvider = services.BuildServiceProvider();
      var newOptions = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>().Value;

      // Assert
      Assert.True(newOptions.ViewLocationExpanders.Count > oldOptions.ViewLocationExpanders.Count);



      Questions



      1. Am I going beyond the scope of what unit testing should include? I'm afraid that my code is actually testing the basic functions of generic collections and/or aspects of ASP.NET Core.

      2. If my concern above is true, that should I write unit tests to this at all? How should it work?






      c# unit-testing asp.net-core






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      PrologProlog

      468




      468




















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          I find your test is excelent (and I'll borrow it from you). I would, however, make it a litte bit more exact and not only test the counts of generated locations but also whether they have the expected values.



          You are not testing basic functions of collections or ASP.NET-Core aspects because it doesn't matter how it's implemented. What you are testing is whether your application has all the view locations it needs to work correctly.



          This is a very important (integration) test and you should not remove it but improve it by asserting the actual locations too. If this breaks then your app wont't work anymore so it's a real lifesaver.






          share|improve this answer









          $endgroup$












          • $begingroup$
            Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
            $endgroup$
            – Prolog
            2 hours ago











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "196"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f217748%2funit-testing-extension-method-adding-view-location-expander%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3












          $begingroup$

          I find your test is excelent (and I'll borrow it from you). I would, however, make it a litte bit more exact and not only test the counts of generated locations but also whether they have the expected values.



          You are not testing basic functions of collections or ASP.NET-Core aspects because it doesn't matter how it's implemented. What you are testing is whether your application has all the view locations it needs to work correctly.



          This is a very important (integration) test and you should not remove it but improve it by asserting the actual locations too. If this breaks then your app wont't work anymore so it's a real lifesaver.






          share|improve this answer









          $endgroup$












          • $begingroup$
            Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
            $endgroup$
            – Prolog
            2 hours ago















          3












          $begingroup$

          I find your test is excelent (and I'll borrow it from you). I would, however, make it a litte bit more exact and not only test the counts of generated locations but also whether they have the expected values.



          You are not testing basic functions of collections or ASP.NET-Core aspects because it doesn't matter how it's implemented. What you are testing is whether your application has all the view locations it needs to work correctly.



          This is a very important (integration) test and you should not remove it but improve it by asserting the actual locations too. If this breaks then your app wont't work anymore so it's a real lifesaver.






          share|improve this answer









          $endgroup$












          • $begingroup$
            Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
            $endgroup$
            – Prolog
            2 hours ago













          3












          3








          3





          $begingroup$

          I find your test is excelent (and I'll borrow it from you). I would, however, make it a litte bit more exact and not only test the counts of generated locations but also whether they have the expected values.



          You are not testing basic functions of collections or ASP.NET-Core aspects because it doesn't matter how it's implemented. What you are testing is whether your application has all the view locations it needs to work correctly.



          This is a very important (integration) test and you should not remove it but improve it by asserting the actual locations too. If this breaks then your app wont't work anymore so it's a real lifesaver.






          share|improve this answer









          $endgroup$



          I find your test is excelent (and I'll borrow it from you). I would, however, make it a litte bit more exact and not only test the counts of generated locations but also whether they have the expected values.



          You are not testing basic functions of collections or ASP.NET-Core aspects because it doesn't matter how it's implemented. What you are testing is whether your application has all the view locations it needs to work correctly.



          This is a very important (integration) test and you should not remove it but improve it by asserting the actual locations too. If this breaks then your app wont't work anymore so it's a real lifesaver.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 4 hours ago









          t3chb0tt3chb0t

          35.3k754127




          35.3k754127











          • $begingroup$
            Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
            $endgroup$
            – Prolog
            2 hours ago
















          • $begingroup$
            Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
            $endgroup$
            – Prolog
            2 hours ago















          $begingroup$
          Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
          $endgroup$
          – Prolog
          2 hours ago




          $begingroup$
          Thank you for answer. Maybe I should write further integration test checking if appropriate views are found with the new ViewLocationExpanderadded? But that would probably be outside the scope of unit testing and secondly inside that unit test method there is not much more to test (or at least I see it that way in debugger). And please, go ahead and borrow anything you want from my post. I'm happy it's useful.
          $endgroup$
          – Prolog
          2 hours ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Code Review Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f217748%2funit-testing-extension-method-adding-view-location-expander%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

          Българска екзархия Съдържание История | Български екзарси | Вижте също | Външни препратки | Литература | Бележки | НавигацияУстав за управлението на българската екзархия. Цариград, 1870Слово на Ловешкия митрополит Иларион при откриването на Българския народен събор в Цариград на 23. II. 1870 г.Българската правда и гръцката кривда. От С. М. (= Софийски Мелетий). Цариград, 1872Предстоятели на Българската екзархияПодмененият ВеликденИнформационна агенция „Фокус“Димитър Ризов. Българите в техните исторически, етнографически и политически граници (Атлас съдържащ 40 карти). Berlin, Königliche Hoflithographie, Hof-Buch- und -Steindruckerei Wilhelm Greve, 1917Report of the International Commission to Inquire into the Causes and Conduct of the Balkan Wars

          Чепеларе Съдържание География | История | Население | Спортни и природни забележителности | Културни и исторически обекти | Религии | Обществени институции | Известни личности | Редовни събития | Галерия | Източници | Литература | Външни препратки | Навигация41°43′23.99″ с. ш. 24°41′09.99″ и. д. / 41.723333° с. ш. 24.686111° и. д.*ЧепелареЧепеларски Linux fest 2002Начало на Зимен сезон 2005/06Национални хайдушки празници „Капитан Петко Войвода“Град ЧепелареЧепеларе – народният ски курортbgrod.orgwww.terranatura.hit.bgСправка за населението на гр. Исперих, общ. Исперих, обл. РазградМузей на родопския карстМузей на спорта и скитеЧепеларебългарскибългарскианглийскитукИстория на градаСки писти в ЧепелареВремето в ЧепелареРадио и телевизия в ЧепелареЧепеларе мами с родопски чар и добри пистиЕвтин туризъм и снежни атракции в ЧепелареМестоположениеИнформация и снимки от музея на родопския карст3D панорами от ЧепелареЧепелареррр